New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSX highlighting some generic types as error #59
Comments
Very sorry, this was not because of this plugin: vim-jsx-pretty works pretty fine in this case. |
How did you manage to fix this? Are you using |
@fr3fou Disable |
It appears that your screenshot has a conflict with https://github.com/styled-components/vim-styled-components. |
I don't think any problems are remaining, except that your code has some compilation errors. |
But it compiles fine :/ it's not giving me that error in vscode |
It's not because of this syntax plugin but of your plugin that runs tsserver in background. Does your project have tsconfig.json? |
Yep, it also has jsx enabled. This error only occurs in some files, not all. |
That's weird... I can't guess which plugin you are using, but assuming it's coc-tsserver, how about this issue: neoclide/coc-tsserver#35? |
|
Possibly related to #40.
Some complicated generic types that even compile seem to be highlighted error using this plugin.
My environment is Neovim v0.3.2 and the vim-jsx-pretty is f40cbf3.
I appreciate any efforts made for this great plugin, thanks in advance!
The text was updated successfully, but these errors were encountered: