aboutsummaryrefslogtreecommitdiff
path: root/settings/dls.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/dls.vim')
-rw-r--r--settings/dls.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/dls.vim b/settings/dls.vim
new file mode 100644
index 0000000..fc7a9dd
--- /dev/null
+++ b/settings/dls.vim
@@ -0,0 +1,13 @@
+augroup vimlsp_settings_dls
+ au!
+ LspRegisterServer {
+ \ 'name': 'dls',
+ \ 'cmd': {server_info->lsp_settings#get('dls', 'cmd', [lsp_settings#exec_path('dls')])},
+ \ 'root_uri':{server_info->lsp_settings#get('dls', 'root_uri', lsp_settings#root_uri(['.git/']))},
+ \ 'initialization_options': lsp_settings#get('dls', 'initialization_options', {"diagnostics": "true"}),
+ \ 'whitelist': lsp_settings#get('dls', 'whitelist', ['d']),
+ \ 'blacklist': lsp_settings#get('dls', 'blacklist', []),
+ \ 'config': lsp_settings#get('dls', 'config', {}),
+ \ 'workspace_config': lsp_settings#get('dls', 'workspace_config', {}),
+ \ }
+augroup END