Try out syntastic
This commit is contained in:
parent
05940d1cd7
commit
c93b80cd81
1 changed files with 11 additions and 0 deletions
11
vim/.vimrc
11
vim/.vimrc
|
@ -9,6 +9,7 @@ Plug 'tpope/vim-eunuch'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'tpope/vim-rhubarb'
|
Plug 'tpope/vim-rhubarb'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
|
Plug 'vim-syntastic/syntastic'
|
||||||
|
|
||||||
" languages
|
" languages
|
||||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||||
|
@ -122,6 +123,16 @@ noremap <C-p> :FZF<CR>
|
||||||
" rust.vim
|
" rust.vim
|
||||||
let g:rustfmt_autosave = 1
|
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
|
" vim-bbye
|
||||||
nnoremap <silent> <Leader>bd :Bdelete<CR>
|
nnoremap <silent> <Leader>bd :Bdelete<CR>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue