mxw / vim-jsx

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

the plugin isn't working for me #170

Open shreyanshjn opened 6 years ago

shreyanshjn commented 6 years ago

I don't know why but this plugin isn't working for me.. Here are my screenshots of my react file and vimrc file..

screenshot from 2018-06-08 23-01-32 screenshot from 2018-06-08 23-02-27

agriffis commented 6 years ago

This probably means a JS syntax error above the render function, in the 10 folded lines

shreyanshjn commented 6 years ago

Actually, I don't have that file now...but i am pretty sure that there was no syntax error in those folded lines.....because when i replaced vim-jsx plugin with vim-jsx-pretty it worked fine for me.