mxw / vim-jsx

React JSX syntax highlighting and indenting for vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with ES6 template literal

shampliu opened this issue · comments

commented

screen shot 2017-02-23 at 8 36 45 pm

Hi I'm using spf13-vim and it comes with the pangloss/vim-javascript plugin. I also just added vim-jsx and it's been working for the most part but I'm running into incorrect syntax highlighting for this ES6 syntax. Not sure if I should be posting in this repo or the vim-javascript repo.

commented

I ran set filetype:javascript.jsx and it corrected itself. Seems like the syntax-highlighting wasn't working originally.