mxw / vim-jsx

React JSX syntax highlighting and indenting for vim.
1.59k stars 95 forks source link

breaks syntax highlighting #72

Closed iwyg closed 9 years ago

iwyg commented 9 years ago

So I use this plugin along with pangloss/vim-javascript and I noticed that it breaks parts of the syntax highlighting when writing jsx:

broken syntax

omitting the jsx part seems to fix it ok syntax

can anyone confirm this?

iwyg commented 9 years ago

Hm, strange. I figured that defining g:xml_syntax_folding anywhere in vimrc is causing this issue (doesn't matter if you set it to 0 or 1)

mxw commented 9 years ago

Note that the README states that folding is not supported for vim-jsx...