From cfdb41f4d2a3dbb7e5b7c3f58ae8a3b6a789c89e Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 26 Jul 2017 10:44:07 +0100 Subject: [PATCH] Remove a redundant check for tsserver --- autoload/ale/engine.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim index 1ffdf443..f3ac30c0 100644 --- a/autoload/ale/engine.vim +++ b/autoload/ale/engine.vim @@ -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)