瀏覽代碼

Add external vim plugin syntastic

Emmanuel Bouthenot 12 年之前
父節點
當前提交
f1eebfcce5
共有 3 個文件被更改,包括 22 次插入0 次删除
  1. 3 0
      .gitmodules
  2. 1 0
      .vim/bundle/syntastic
  3. 18 0
      .vim/vimrc

+ 3 - 0
.gitmodules

@@ -13,3 +13,6 @@
 [submodule ".vim/bundle/taglist"]
 	path = .vim/bundle/taglist
 	url = git://github.com/vim-scripts/taglist.vim.git
+[submodule ".vim/bundle/syntastic"]
+	path = .vim/bundle/syntastic
+	url = git://github.com/scrooloose/syntastic.git

+ 1 - 0
.vim/bundle/syntastic

@@ -0,0 +1 @@
+Subproject commit e5dfcc3488e407c8e28b308cb6e631336e77d060

+ 18 - 0
.vim/vimrc

@@ -313,3 +313,21 @@ let g:gundo_close_on_revert = 1
 
 " F3 key to show/hide Gundo sidebar
 nnoremap <F3> :GundoToggle<CR>
+
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Gundo Setup
+"
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+" automatically open/close pane when errors (or not)
+let g:syntastic_auto_loc_list = 1
+" Redefine errors/warning symbols on sidebar
+let g:syntastic_error_symbol = 'EE'
+let g:syntastic_style_error_symbol = 'ee'
+let g:syntastic_warning_symbol = 'WW'
+let g:syntastic_style_warning_symbol = 'Ws'
+" redefine default python linter
+"let g:syntastic_python_checker = 'pylint'
+" add options to python linter
+"let g:syntastic_python_checker_args = ''