mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
#904 Do not run linters on :wq or :x
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user