Browse Source

Add specific actions for js files

coc
Schneider 8 years ago
parent
commit
b541f6327f
  1. 7
      vim/ftplugin/javascript.vim

7
vim/ftplugin/javascript.vim

@ -0,0 +1,7 @@
let g:syntastic_javascript_checkers = ['standard']
autocmd bufwritepost *.js silent !standard --fix %
set autoread
set tabstop=2
set shiftwidth=2
Loading…
Cancel
Save