Bug fix: SyntasticToggleMode shouldn't trigger the checks.

This commit is contained in:
LCD 47 2014-10-02 17:11:06 +03:00
parent 2a077c90c4
commit 049718cc61

View File

@ -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