mxw / vim-jsx

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

(nvim only) Wrongly syntax highlighted JSX tag which contains arrow function #147

Closed AndreiBru closed 6 years ago

AndreiBru commented 6 years ago

I know this issue has been addressed a few times, and everything works fine when using Vim. Although, in nvim the issue is reproducible. Currently running latest nvim (neovim 0.2.0_1) and the latest vim-jsx and vim-javascript.

I'm not sure what the source of this problem could be, but if this is not related to this package, feel free to close the issue.

Thanks!

screen shot 2017-10-25 at 15 11 20
AndreiBru commented 6 years ago

Also, using "%" is a bit broken if trying to jump over JSX content. It matches wrong parentheses (again, only in nvim). Makes me wonder if it's not a nvim only related problem.

AndreiBru commented 6 years ago

Nevermind, I think it was related to a weird behaviour regarding the runtime path which I can't reproduce anymore. It seems that somehow it was overwritten wrongfully. No idea how. Closing.