From 86354688d61744165264135c1ae9ce48bbe50e78 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 22 Jan 2018 16:28:22 -0700 Subject: Change to manual call of linting --- plugin/vim-options.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugin/vim-options.vim') diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 39fd706..f549dcb 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -332,8 +332,8 @@ if !empty(glob($EditorDir.'plugged/syntastic/plugin/syntastic.vim')) let g:syntastic_php_phpcs_args = "--standard=/root/PEARish.xml,PSR2,Symfony2" let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 0 - let g:syntastic_check_on_wq = 1 - let g:syntastic_check_on_open = 1 + let g:syntastic_check_on_wq = 0 + let g:syntastic_check_on_open = 0 let g:syntastic_aggregate_errors = 1 let g:syntastic_mode_map = { 'mode': 'active' } function! ToggleSyntasticMode() @@ -353,7 +353,8 @@ EOF let g:syntastic_check_on_open = 1 endif endfunction - nnoremap a :call ToggleSyntasticMode() + " nnoremap a :call ToggleSyntasticMode() + nnoremap a :SyntasticCheck endif "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3