I broke up with neovim....vim is my best friend now
This commit is contained in:
8
dot_vim/plugged/vim-lsp-settings/checkers/cl-lsp.vim
Normal file
8
dot_vim/plugged/vim-lsp-settings/checkers/cl-lsp.vim
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
call lsp_settings#set('cl-lsp', 'cmd', ['ros', '-Q', '--', l:command])
|
||||
return l:command
|
||||
endfunction
|
||||
@@ -0,0 +1,7 @@
|
||||
function! LspCheckCommand() abort
|
||||
call system('perl -e "use Perl::LanguageServer"')
|
||||
if v:shell_error
|
||||
return ''
|
||||
endif
|
||||
return 'perl -MPerl::LanguageServer -e "Perl::LanguageServer->run"'
|
||||
endfunction
|
||||
3
dot_vim/plugged/vim-lsp-settings/checkers/slp.vim
Normal file
3
dot_vim/plugged/vim-lsp-settings/checkers/slp.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
function! LspCheckCommand() abort
|
||||
return lsp_settings#exec_path('slp')
|
||||
endfunction
|
||||
Reference in New Issue
Block a user