Added syntastic plugin
This commit is contained in:
parent
bb3b634ed8
commit
94055a095f
3 changed files with 16 additions and 0 deletions
12
bundles-init/syntastic.cfg.vim
Normal file
12
bundles-init/syntastic.cfg.vim
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
let g:syntastic_mode_map = {
|
||||||
|
\ 'mode': 'passive'
|
||||||
|
\ }
|
||||||
|
let g:syntastic_aggregate_errors = 1
|
||||||
|
let g:syntastic_check_on_wq = 0
|
||||||
|
let g:syntastic_enable_balloons = 1
|
||||||
|
let g:syntastic_always_populate_loc_list = 1
|
||||||
|
let g:syntastic_auto_loc_list = 1
|
||||||
|
let g:syntastic_ignore_files = ['\m^/usr/include/']
|
||||||
|
|
||||||
|
nnoremap <silent> <Leader>s :SyntasticToggleMode<cr>
|
||||||
|
nnoremap <silent> <Leader>ss :SyntasticCheck<cr>
|
1
bundles-init/syntastic.load.vim
Normal file
1
bundles-init/syntastic.load.vim
Normal file
|
@ -0,0 +1 @@
|
||||||
|
NeoBundle 'scrooloose/syntastic'
|
|
@ -60,3 +60,6 @@ local leader key.
|
||||||
<Leader>gM Git: rename current buffer
|
<Leader>gM Git: rename current buffer
|
||||||
<Leader>gP Git: push
|
<Leader>gP Git: push
|
||||||
<Leader>gR Git: remove current buffer
|
<Leader>gR Git: remove current buffer
|
||||||
|
|
||||||
|
<Leader>s Toggle syntax checking
|
||||||
|
<Leader>ss Check syntax now
|
||||||
|
|
Loading…
Reference in a new issue