diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-24 12:56:07 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-24 12:56:07 +0900 |
commit | 9ec55697b7cad9f0e474795869985fd474efe6d3 (patch) | |
tree | 048ded89509b4942c51fb112b979b98403c0dfeb | |
parent | e046c719864355821e52595c110b9798a715f8b3 (diff) | |
download | vim-lsp-settings-9ec55697b7cad9f0e474795869985fd474efe6d3.tar.gz vim-lsp-settings-9ec55697b7cad9f0e474795869985fd474efe6d3.tar.bz2 vim-lsp-settings-9ec55697b7cad9f0e474795869985fd474efe6d3.zip |
Add efm-langserver
-rw-r--r-- | settings/efm-langserver.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/efm-langserver.vim b/settings/efm-langserver.vim new file mode 100644 index 0000000..45711e2 --- /dev/null +++ b/settings/efm-langserver.vim @@ -0,0 +1,13 @@ +augroup vimlsp_settings_efm_langserver + au! + LspRegisterServer { + \ 'name': 'efm-langserver', + \ 'cmd': {server_info->lsp_settings#get('efm-langserver', 'cmd', [lsp_settings#exec_path('efm-langserver')])}, + \ 'root_uri':{server_info->lsp_settings#get('efm-langserver', 'root_uri', lsp_settings#root_uri(['.git/']))}, + \ 'initialization_options': lsp_settings#get('efm-langserver', 'initialization_options', v:null), + \ 'whitelist': lsp_settings#get('efm-langserver', 'whitelist', ['*']), + \ 'blacklist': lsp_settings#get('efm-langserver', 'blacklist', []), + \ 'config': lsp_settings#get('efm-langserver', 'config', {}), + \ 'workspace_config': lsp_settings#get('efm-langserver', 'workspace_config', {}), + \ } +augroup END |