aboutsummaryrefslogtreecommitdiff
path: root/checkers/cl-lsp.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 00:13:59 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 00:13:59 +0900
commitfa3e80bb4cccf02eb25e654318b4509ab954f74e (patch)
treeba9652134c49dbefa9b76914c3cf21130c2343b4 /checkers/cl-lsp.vim
parent4eccf3e86c7399be892d6e25bf253e33fa28a9e5 (diff)
downloadvim-lsp-settings-fa3e80bb4cccf02eb25e654318b4509ab954f74e.tar.gz
vim-lsp-settings-fa3e80bb4cccf02eb25e654318b4509ab954f74e.tar.bz2
vim-lsp-settings-fa3e80bb4cccf02eb25e654318b4509ab954f74e.zip
Add perl-languageserver. But work in progress.
Diffstat (limited to 'checkers/cl-lsp.vim')
-rw-r--r--checkers/cl-lsp.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkers/cl-lsp.vim b/checkers/cl-lsp.vim
index e8e7d9f..1923f0f 100644
--- a/checkers/cl-lsp.vim
+++ b/checkers/cl-lsp.vim
@@ -1,7 +1,7 @@
function! LspCheckCommand() abort
let l:command = trim(filter(systemlist('ros version'), 'v:val =~# "^homedir="')[0][8:], '''"') . '/bin/cl-lsp'
- if filereadable(l:command)
- return l:command
+ if !filereadable(l:command)
+ return ''
endif
- return ''
+ return l:command
endfunction