vimrc/syntastic.vim

18 lines
745 B
VimL
Raw Normal View History

" configure syntastic, advanced syntax checker, with some reasonable behaviors
"
" always stick detected errors in the location list
let g:syntastic_always_populate_loc_list = 1
" open but only when errors are detected; default closes when errors are cleared
" but doesn't open the list automatically
let g:syntastic_auto_loc_list = 1
" check when first opening a file
let g:syntastic_check_on_open = 1
" don't check on writing and quitting
let g:syntastic_check_on_wq = 0
" explicitly set the js checker to my preferred one
let g:syntastic_javascript_checkers = ['eslint']
2018-12-13 21:22:51 +00:00
" configur the ts checkers
let g:syntastic_typescript_checkers = ['tsuquyomi', 'tslint']
" force tsc to search harder for config
let g:syntastic_typescript_tsc_fname = ''