Browse Source

add syntax check on open

Kyle P Davis 11 years ago
parent
commit
6a513f5fde
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .vimrc

+ 1 - 0
.vimrc

@@ -57,6 +57,7 @@ map <C-\> :NERDTreeToggle<CR>
 "TODO: detect SHIFT?: map <Shift><C-\> :NERDTreeFind<CR>
 
 Plug 'scrooloose/syntastic'  " multi-language syntax checker
+let g:syntastic_check_on_open=1
 
 Plug 'ntpeters/vim-better-whitespace'  " whitespace!!
 let g:strip_whitespace_on_save = 1