mirror of
https://github.com/amix/vimrc
synced 2025-07-10 11:44:59 +08:00
updated plugins and added eslint goodies
This commit is contained in:
@ -117,7 +117,16 @@ nnoremap <silent> <leader>z :Goyo<cr>
|
||||
" => Syntastic (syntax checker)
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
let g:syntastic_python_checkers=['pyflakes']
|
||||
let g:syntastic_javascript_checkers = ['jshint']
|
||||
let g:syntastic_javascript_checkers = ['eslint']
|
||||
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%{SyntasticStatuslineFlag()}
|
||||
set statusline+=%*
|
||||
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
" let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
|
||||
" Custom CoffeeScript SyntasticCheck
|
||||
func! SyntasticCheckCoffeescript()
|
||||
|
Reference in New Issue
Block a user