Added syntastic plugin

This commit is contained in:
Emmanuel BENOîT 2015-03-09 12:30:48 +01:00
parent bb3b634ed8
commit 94055a095f
3 changed files with 16 additions and 0 deletions

View 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>

View file

@ -0,0 +1 @@
NeoBundle 'scrooloose/syntastic'

View file

@ -60,3 +60,6 @@ local leader key.
<Leader>gM Git: rename current buffer
<Leader>gP Git: push
<Leader>gR Git: remove current buffer
<Leader>s Toggle syntax checking
<Leader>ss Check syntax now