aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/vim/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/vim/vimrc b/modules/vim/vimrc
index 7210c40..3490924 100644
--- a/modules/vim/vimrc
+++ b/modules/vim/vimrc
@@ -50,6 +50,11 @@ call pathogen#infect()
" No modelines
set nomodeline
+" Syntax check
+let g:syntastic_mode_map = { 'mode': 'passive',
+ \ 'active_filetypes': [],
+ \ 'passive_filetypes': [] }
+
" NERDTree section
" Thanks to http://stackoverflow.com/questions/1447334/how-do-you-add-nerdtree-to-your-vimrc