diff options
author | w0rp <devw0rp@gmail.com> | 2017-07-26 10:44:07 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-07-26 10:44:07 +0100 |
commit | cfdb41f4d2a3dbb7e5b7c3f58ae8a3b6a789c89e (patch) | |
tree | ae69cb808622ce9d89f485405541a1caa658194f | |
parent | e6f527f9547919891fe9de133e9d448401731cdc (diff) | |
download | ale-cfdb41f4d2a3dbb7e5b7c3f58ae8a3b6a789c89e.zip |
Remove a redundant check for tsserver
-rw-r--r-- | autoload/ale/engine.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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) |