aboutsummaryrefslogtreecommitdiff
path: root/checkers/cl-lsp.vim
blob: 1923f0f6767b0e5294539c55fbc735162193f33f (plain)
1
2
3
4
5
6
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 ''
  endif
  return l:command
endfunction