]> gitweb.fluxo.info Git - metadot.git/commitdiff
Vim syntax check config
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Jan 2013 13:16:11 +0000 (11:16 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 29 Jan 2013 13:16:11 +0000 (11:16 -0200)
modules/vim/vimrc

index 7210c4033f6cf64a4c83758b1f0bc32d2ea68f47..3490924fdb6ca63a12b24c8ee0212d51a23ff170 100644 (file)
@@ -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