summaryrefslogtreecommitdiff
path: root/autoload/ale.vim
diff options
context:
space:
mode:
authortoastal <toastal@protonmail.com>2020-09-14 08:54:07 +0700
committertoastal <toastal@protonmail.com>2020-09-14 08:54:07 +0700
commitb32954a46c62e3021412a883dde9544f37cdabb3 (patch)
tree39c02ff1fd8a0bc0f0375bc8d7a2d92154d8d2ec /autoload/ale.vim
parentf07ecbc579a216a0fff18bdc010fe1a4de91fa39 (diff)
parent08295ce17405cb5f6c80d2f726262493bfd21210 (diff)
downloadale-b32954a46c62e3021412a883dde9544f37cdabb3.zip
Merge branch 'master' into dhall
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r--autoload/ale.vim10
1 files changed, 2 insertions, 8 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim
index 5ec22f57..3f59a6a4 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
@@ -163,7 +157,7 @@ function! ale#Queue(delay, ...) abort
endif
endfunction
-let s:current_ale_version = [2, 7, 0]
+let s:current_ale_version = [3, 0, 0]
" A function used to check for ALE features in files outside of the project.
function! ale#Has(feature) abort