mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Fix the test for doing nothing for CtrlPFunky buffers
This commit is contained in:
@@ -1,7 +1,20 @@
|
|||||||
Before:
|
Before:
|
||||||
Save &l:statusline
|
Save &l:statusline
|
||||||
|
|
||||||
|
let b:funky_command_created = 0
|
||||||
|
|
||||||
|
" We will test for the existence of this command, so create one if needed.
|
||||||
|
if !exists(':CtrlPFunky')
|
||||||
|
command CtrlPFunky echo
|
||||||
|
let b:funky_command_created = 1
|
||||||
|
endif
|
||||||
|
|
||||||
After:
|
After:
|
||||||
|
if b:funky_command_created
|
||||||
|
delcommand CtrlPFunky
|
||||||
|
let b:funky_command_created = 0
|
||||||
|
endif
|
||||||
|
|
||||||
Restore
|
Restore
|
||||||
|
|
||||||
Execute(ALE shouldn't do much of anything for ctrlp-funky buffers):
|
Execute(ALE shouldn't do much of anything for ctrlp-funky buffers):
|
||||||
|
|||||||
Reference in New Issue
Block a user