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.
|
" Returns 1 if the linter was successfully run.
|
||||||
function! s:RunLinter(buffer, linter) abort
|
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)
|
return s:CheckWithLSP(a:buffer, a:linter)
|
||||||
else
|
else
|
||||||
let l:executable = ale#linter#GetExecutable(a:buffer, a:linter)
|
let l:executable = ale#linter#GetExecutable(a:buffer, a:linter)
|
||||||
|
Loading…
Reference in New Issue
Block a user