mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Fix #891 - Do not check ctrlp-funky windows
This commit is contained in:
12
test/test_should_do_nothing_conditions.vader
Normal file
12
test/test_should_do_nothing_conditions.vader
Normal file
@@ -0,0 +1,12 @@
|
||||
Before:
|
||||
Save &l:statusline
|
||||
|
||||
After:
|
||||
Restore
|
||||
|
||||
Execute(ALE shouldn't do much of anything for ctrlp-funky buffers):
|
||||
Assert !ale#ShouldDoNothing(bufnr('')), 'The preliminary check failed'
|
||||
|
||||
let &l:statusline = '%#CtrlPMode2# prt %*%#CtrlPMode1# line %* <mru>={%#CtrlPMode1# funky %*}=<fil> <-> %=%<%#CtrlPMode2# %{getcwd()} %*'
|
||||
|
||||
Assert ale#ShouldDoNothing(bufnr(''))
|
||||
Reference in New Issue
Block a user