summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-09-08 22:19:13 +0100
committerw0rp <devw0rp@gmail.com>2020-09-08 22:19:13 +0100
commit6a367e44aa0feddd63b0e6d9505e21ca4442247e (patch)
treedde33e4215fdcd0848c170fc4eeffb9ac851693a /autoload/ale.vim
parent7d90ff56d96d601478f00895e009ae63a7d8b4bb (diff)
downloadale-6a367e44aa0feddd63b0e6d9505e21ca4442247e.zip
Close #3003 - Show ignored linters in :ALEInfo
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim8
1 files changed, 1 insertions, 7 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index 5ec22f57..84003993 100644
--- a/autoload/ale.vim
+++ b/autoload/ale.vim
@@ -100,13 +100,7 @@ function! s:Lint(buffer, should_lint_file, timer_id) abort
" Use the filetype from the buffer
let l:filetype = getbufvar(a:buffer, '&filetype')
let l:linters = ale#linter#Get(l:filetype)
-
- " 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) || l:disable_lsp
- \ ? ale#engine#ignore#Exclude(l:filetype, l:linters, l:ignore_config, l:disable_lsp)
- \ : l:linters
+ let l:linters = ale#linter#RemoveIgnored(a:buffer, l:filetype, l:linters)
" Tell other sources that they can start checking the buffer now.
let g:ale_want_results_buffer = a:buffer