Syntax (or filetype) not working properly
elquimista opened this issue · comments
What is the correct syntax/filetype for this plugin to work - javascript
or jsx
?
Button.js
(:set filetype=javascript
)
Button.js
(:set filetype=jsx
)
I'm using Vim 8.1 with following line at the top of my ~/.vim/vimrc
file to load the plugin:
set runtimepath^=~/.vim/plugins/vim-jsx
:set syntax=javascript.jsx
Woah, it's simple as that.. wonder why I didn't see it in the README (or any other documentation). I'm closing this...