mirror of
https://github.com/dense-analysis/ale
synced 2024-12-11 08:56:15 +00:00
Remove a redundant check for tsserver
This commit is contained in:
parent
e6f527f954
commit
cfdb41f4d2
@ -617,7 +617,7 @@ endfunction
|
||||
"
|
||||
" Returns 1 if the linter was successfully run.
|
||||
function! s:RunLinter(buffer, linter) abort
|
||||
if !empty(a:linter.lsp) || a:linter.lsp ==# 'tsserver'
|
||||
if !empty(a:linter.lsp)
|
||||
return s:CheckWithLSP(a:buffer, a:linter)
|
||||
else
|
||||
let l:executable = ale#linter#GetExecutable(a:buffer, a:linter)
|
||||
|
Loading…
Reference in New Issue
Block a user