Try out syntastic

This commit is contained in:
Andrew Tomaka 2022-05-21 10:12:48 -04:00
parent 05940d1cd7
commit c93b80cd81
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -9,6 +9,7 @@ Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'tpope/vim-surround'
Plug 'vim-syntastic/syntastic'
" languages
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
@ -122,6 +123,16 @@ noremap <C-p> :FZF<CR>
" rust.vim
let g:rustfmt_autosave = 1
" syntastic
" recommended settings for syntastic beginners
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
" vim-bbye
nnoremap <silent> <Leader>bd :Bdelete<CR>