diff options
author | Duc Nghiem-Xuan <git@ducnx.com> | 2020-01-30 00:55:45 +0900 |
---|---|---|
committer | Duc Nghiem-Xuan <git@ducnx.com> | 2020-01-30 00:55:45 +0900 |
commit | 5600aedecf0d1c216ef81623f8983837685b15cb (patch) | |
tree | 80b4d36606047f9814c019efe26d103b3dce7c68 /settings/fsautocomplete.vim | |
parent | 08e6ed76dea1b22d90c9e6ecbdb4a912166396e8 (diff) | |
download | vim-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.vim | 13 |
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 |