Setting up NeoVim for React

SyntaxHighlighting

Please follow code in init.vim

call dein#add('pangloss/vim-javascript',{ 'for': ['javascript', 'javascript.jsx']})
call dein#add('mxw/vim-jsx')

Syntax checking

call dein#add('w0rp/ale')

It dependents on npm package, please execute bellow command.

$ sudo npm install -g eslint babel-eslint eslint-plugin-react

関連記事