summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-04-03 19:21:11 +0100
committerw0rp <devw0rp@gmail.com>2017-04-03 19:21:11 +0100
commit9691649b6519dd422c56071566a8071f1c6978fd (patch)
tree2b38ec4a1e805ae3b2eaba2523e2669e981d8c3d /autoload/ale.vim
parentb7c79974bbbb3bf4261fe5ea10f629e44c8534eb (diff)
downloadale-9691649b6519dd422c56071566a8071f1c6978fd.zip
#446 Do not run ALE if inside of a command window
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim1
1 files changed, 1 insertions, 0 deletions
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