Browse Source

Update javascript file type

coc
Schneider 8 years ago
parent
commit
705a11da89
  1. 3
      vim/ftplugin/javascript.vim

3
vim/ftplugin/javascript.vim

@ -3,8 +3,9 @@ let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_javascript_eslint_exe = '$(npm bin)/eslint' let g:syntastic_javascript_eslint_exe = '$(npm bin)/eslint'
let g:syntastic_javascript_eslint_args = ['--fix'] let g:syntastic_javascript_eslint_args = ['--fix']
autocmd bufwritepost *.js silent !standard --fix %
"autocmd bufwritepost *.js silent !standard --fix %
set autoread set autoread
set wildignore+=node_modules
set tabstop=2 set tabstop=2
set shiftwidth=2 set shiftwidth=2

Loading…
Cancel
Save