mxw / vim-jsx

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

Keywords highlighted as errors with othree/yajs.vim #60

Closed simonratner closed 9 years ago

simonratner commented 9 years ago

yajs-jsx

I know that only pangloss/vim-javascript is officially supported, but this could be a simple fix, depending on what you stance on cross-compatibility is:

syn cluster javascriptNoReserved add=jsxRegion

I've filed a similar issue on the other side: https://github.com/othree/yajs.vim/issues/76

mxw commented 9 years ago

I'm happy to support other packages as long as it's nonintrusive—this sounds like it fits the bill. Put up a PR and I'll merge it.