Closed pappasam closed 3 years ago
This should be resolved on the develop
branch.
This was working fine for me up until a few weeks ago with vim-jsx-pretty
and vim-styled-components
.
vim-styled-components
first I get errors and the styled components syntax highlighting doesn't work. vim-jsx-pretty
there are no errors but still no syntax highlighting on styled components.I'm testing with .tsx
files and the filetype in Neovim is reported as typescript.tsx
See https://github.com/MaxMEllon/vim-jsx-pretty/issues/124
Basically,
syntax/typescript.vim
automatically loadssyntax/javascript.vim
, preventing the configuration optiong:vim_jsx_pretty_disable_tsx
from working. I've stopped relying on this plugin, but since vim-jsx-pretty is a popular library, it might be a good idea to fix this issue at some point.