Ver Fonte

vim: syntastic passive mode, ruler

raylu há 10 anos atrás
pai
commit
a00110938a
1 ficheiros alterados com 3 adições e 4 exclusões
  1. 3 4
      vimrc

+ 3 - 4
vimrc

@@ -22,6 +22,7 @@ set keywordprg=man\ -s
 set mouse=
 set linebreak
 set formatoptions-=o
+set ruler
 set nojoinspaces
 set fileformats=unix,dos,mac
 set t_Co=256
@@ -54,14 +55,12 @@ let g:jedi#use_tabs_not_buffers = 0
 let g:jedi#use_splits_not_buffers = 'winwidth'
 let g:jedi#popup_select_first = 0
 
-set statusline+=%#warningmsg#
-set statusline+=%{SyntasticStatuslineFlag()}
-set statusline+=%*
 let g:syntastic_python_checkers = ['pyflakes']
 let g:syntastic_always_populate_loc_list = 1
 let g:syntastic_auto_loc_list = 1
 let g:syntastic_check_on_open = 0
-let g:syntastic_check_on_wq = 1
+let g:syntastic_check_on_wq = 0
+let g:syntastic_mode_map = {'mode': 'passive', 'active_filetypes': [], 'passive_filetypes': []}
 let g:syntastic_enable_signs = 0
 nmap <F11> :SyntasticCheck<cr>