From 5600aedecf0d1c216ef81623f8983837685b15cb Mon Sep 17 00:00:00 2001 From: Duc Nghiem-Xuan Date: Thu, 30 Jan 2020 00:55:45 +0900 Subject: add fsautocomplete for fsharp --- settings/fsautocomplete.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 settings/fsautocomplete.vim (limited to 'settings/fsautocomplete.vim') 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 -- cgit v1.2.3-54-g00ecf