summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-10 13:42:41 +0100
committerw0rp <devw0rp@gmail.com>2019-05-10 13:42:41 +0100
commit79e42fed14b35767d53d7d443a644a037e012b89 (patch)
tree9c9c1bef9cda93deeea57506f021a9054632f511 /autoload/ale.vim
parentf444abdfe66696505cb891889b18c4144d12d4ea (diff)
downloadale-79e42fed14b35767d53d7d443a644a037e012b89.zip
#2403 - Make ale_disable_lsp apply consistently, and document it better
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index a887834b..04329dfd 100644
--- a/autoload/ale.vim
+++ b/autoload/ale.vim
@@ -97,7 +97,7 @@ function! s:Lint(buffer, should_lint_file, timer_id) abort
" Apply ignore lists for linters only if needed.
let l:ignore_config = ale#Var(a:buffer, 'linters_ignore')
let l:disable_lsp = ale#Var(a:buffer, 'disable_lsp')
- let l:linters = !empty(l:ignore_config)
+ let l:linters = !empty(l:ignore_config) || l:disable_lsp
\ ? ale#engine#ignore#Exclude(l:filetype, l:linters, l:ignore_config, l:disable_lsp)
\ : l:linters