Browse Source

JS linting in nvim

master
Taylor Bockman 9 years ago
parent
commit
1643677f9e
  1. 5
      dotfiles/config/nvim/init.vim

5
dotfiles/config/nvim/init.vim

@ -159,6 +159,11 @@ else
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1) au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
endif endif
" Javascript linting on the fly
" npm install -g eslint to get it working
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_javascript_jsxhint_exec = 'eslint'
" Indent lines customizations " Indent lines customizations
" Color customizations " Color customizations

Loading…
Cancel
Save