From 9691649b6519dd422c56071566a8071f1c6978fd Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 3 Apr 2017 19:21:11 +0100 Subject: #446 Do not run ALE if inside of a command window --- autoload/ale.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'autoload/ale.vim') diff --git a/autoload/ale.vim b/autoload/ale.vim index 830a281d..3c15f5d5 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -11,6 +11,7 @@ function! ale#ShouldDoNothing() abort " Do nothing for blacklisted files " OR if ALE is running in the sandbox return index(g:ale_filetype_blacklist, &filetype) >= 0 + \ || (exists('*getcmdwintype') && !empty(getcmdwintype())) \ || ale#util#InSandbox() endfunction -- cgit v1.2.3