diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-22 19:31:30 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-22 19:31:30 +0900 |
commit | c3f174a0b90b2459f801e50e537574d91baa7fc0 (patch) | |
tree | c268d81c4981a1f2d024b8e29a2d822569e9408e /settings/cl-lsp.vim | |
parent | 695b18f119ffabb7c8d068ce1ce6cfaff4ae6b08 (diff) | |
download | vim-lsp-settings-c3f174a0b90b2459f801e50e537574d91baa7fc0.tar.gz vim-lsp-settings-c3f174a0b90b2459f801e50e537574d91baa7fc0.tar.bz2 vim-lsp-settings-c3f174a0b90b2459f801e50e537574d91baa7fc0.zip |
Add cl-lsp
Diffstat (limited to 'settings/cl-lsp.vim')
-rw-r--r-- | settings/cl-lsp.vim | 13 |
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 |