From 049718cc61daf1cc3b3c2b8f219378463e5c6fe7 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Thu, 2 Oct 2014 17:11:06 +0300 Subject: [PATCH] Bug fix: SyntasticToggleMode shouldn't trigger the checks. --- plugin/syntastic.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 3b2cd9ca..6386aa6e 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:syntastic_start endif -let g:syntastic_version = '3.5.0-42' +let g:syntastic_version = '3.5.0-43' lockvar g:syntastic_version " Sanity checks {{{1 @@ -397,7 +397,7 @@ endfunction " }}}2 function! s:ToggleMode() " {{{2 call s:modemap.toggleMode() call s:ClearCache() - call s:UpdateErrors(1) + call s:notifiers.refresh(g:SyntasticLoclist.New([])) call s:modemap.echoMode() endfunction " }}}2