1
2
3
4
5
6
7
8
9
10
11
12
13
|
augroup vimlsp_settings_cl_lsp
au!
LspRegisterServer {
\ 'name': 'cl-lsp',
\ 'cmd': {server_info->lsp_settings#get('cl-lsp', 'cmd', {key, name-> ['ros', '-Q', '--', trim(filter(systemlist('ros version'), 'v:val=~"^homedir"')[0][8:], '"''') . '/bin/cl-lsp', 'stdio']})},
\ 'root_uri':{server_info->lsp_settings#get('cl-lsp', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
\ 'initialization_options': lsp_settings#get('cl-lsp', 'initialization_options', {}),
\ 'whitelist': lsp_settings#get('cl-lsp', 'whitelist', ['lisp']),
\ 'blacklist': lsp_settings#get('cl-lsp', 'blacklist', []),
\ 'config': lsp_settings#get('cl-lsp', 'config', {}),
\ 'workspace_config': lsp_settings#get('cl-lsp', 'workspace_config', {}),
\ }
augroup END
|