#904 Do not run linters on :wq or :x

This commit is contained in:
w0rp
2017-10-14 23:22:13 +01:00
parent 010ebc2459
commit ef495ba32d
6 changed files with 113 additions and 2 deletions

View File

@@ -199,6 +199,12 @@ Execute (g:ale_echo_cursor = 1 should bind cursor events):
\ 'InsertLeave * call ale#cursor#EchoCursorWarning()',
\], CheckAutocmd('ALECursorGroup')
Execute (ALECleanupGroup should include the right commands):
AssertEqual [
\ 'BufUnload * call ale#engine#Cleanup(str2nr(expand(''<abuf>'')))',
\ 'QuitPre * call ale#events#QuitEvent(str2nr(expand(''<abuf>'')))',
\], CheckAutocmd('ALECleanupGroup')
Execute(Enabling completion should set up autocmd events correctly):
let g:ale_completion_enabled = 0
call ale#completion#Enable()