aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-29 11:16:11 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-29 11:16:11 -0200
commitdb23eb35937041ef97295022915bd2abf84f7534 (patch)
tree0de38a55f2fd56e086f11073a0623f605dd62909
parent99a50cefad0ebcb09dfe2958749ae35686a40aa7 (diff)
downloaddotfiles-db23eb35937041ef97295022915bd2abf84f7534.tar.gz
dotfiles-db23eb35937041ef97295022915bd2abf84f7534.tar.bz2
Vim syntax check config
-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