aboutsummaryrefslogtreecommitdiff
path: root/settings/cl-lsp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/cl-lsp.vim')
-rw-r--r--settings/cl-lsp.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/cl-lsp.vim b/settings/cl-lsp.vim
new file mode 100644
index 0000000..5fa2ad3
--- /dev/null
+++ b/settings/cl-lsp.vim
@@ -0,0 +1,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(['.git/']))},
+ \ '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