mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
8 lines
230 B
VimL
8 lines
230 B
VimL
function! LspCheckCommand() abort
|
|
let l:command = trim(filter(systemlist('ros version'), 'v:val =~# "^homedir="')[0][8:], '''"') . '/bin/cl-lsp'
|
|
if !filereadable(l:command)
|
|
return ''
|
|
endif
|
|
return l:command
|
|
endfunction
|