aboutsummaryrefslogtreecommitdiff
path: root/settings/fsautocomplete.vim
diff options
context:
space:
mode:
authorDuc Nghiem-Xuan <git@ducnx.com>2020-01-30 00:55:45 +0900
committerDuc Nghiem-Xuan <git@ducnx.com>2020-01-30 00:55:45 +0900
commit5600aedecf0d1c216ef81623f8983837685b15cb (patch)
tree80b4d36606047f9814c019efe26d103b3dce7c68 /settings/fsautocomplete.vim
parent08e6ed76dea1b22d90c9e6ecbdb4a912166396e8 (diff)
downloadvim-lsp-settings-5600aedecf0d1c216ef81623f8983837685b15cb.tar.gz
vim-lsp-settings-5600aedecf0d1c216ef81623f8983837685b15cb.tar.bz2
vim-lsp-settings-5600aedecf0d1c216ef81623f8983837685b15cb.zip
add fsautocomplete for fsharp
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