aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-01-22 16:28:22 -0700
committerCody Hiar <codyfh@gmail.com>2018-01-22 16:28:22 -0700
commit86354688d61744165264135c1ae9ce48bbe50e78 (patch)
tree0bebe1bc9f1ea3c569bbb19f20e7a403a5c3406d
parent145cd08f1eee9380f7a011e4b1edfcb9cece3076 (diff)
Change to manual call of linting
-rw-r--r--plugin/vim-options.vim7
1 files changed, 4 insertions, 3 deletions
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 <leader>a :call ToggleSyntasticMode()<CR>
+ " nnoremap <leader>a :call ToggleSyntasticMode()<CR>
+ nnoremap <leader>a :SyntasticCheck<CR>
endif
"-----------------------------------------------------------------------------------------------------------------------