mxw / vim-jsx

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

Highlighting somewhat broken after first jsx region #26

Closed jacobstr closed 9 years ago

jacobstr commented 9 years ago

It seemed like after the first region of JSX in my file, the highlighting would break and believe it's inside of a jsx region.

The culprit for me was " let g:xml_syntax_folding=1.

Throwing this in the knowledge base here because I spent an hour tracking this down ;)

amigrave commented 9 years ago

Had the same issue. Thanks for the hint !