summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index 2172c47b..3bc38cf8 100644
--- a/autoload/ale.vim
+++ b/autoload/ale.vim
@@ -70,7 +70,8 @@ function! ale#ShouldDoNothing(buffer) abort
endif
" Do nothing from CtrlP buffers with CtrlP-funky.
- if getbufvar(a:buffer, '&l:statusline') =~# 'CtrlPMode.*funky'
+ if exists(':CtrlPFunky') is 2
+ \&& getbufvar(a:buffer, '&l:statusline') =~# 'CtrlPMode.*funky'
return 1
endif