You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
574 B
22 lines
574 B
if has("nvim")
|
|
|
|
else
|
|
" Syntastic {{{
|
|
"let g:syntastic_javascript_checkers = ['standard']
|
|
let g:syntastic_javascript_checkers = ['eslint']
|
|
let g:syntastic_javascript_eslint_exe = '$(npm bin)/eslint'
|
|
let g:syntastic_javascript_eslint_args = ['--fix']
|
|
|
|
" And also for vue
|
|
let g:syntastic_vue_checkers = ['eslint']
|
|
let g:syntastic_vue_eslint_exe = '$(npm bin)/eslint'
|
|
let g:syntastic_vue_eslint_args = ['--fix']
|
|
"}}}
|
|
endif
|
|
|
|
|
|
"autocmd bufwritepost *.js silent !standard --fix %
|
|
set wildignore+=node_modules
|
|
|
|
set tabstop=2
|
|
set shiftwidth=2
|