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