diff options
author | mattn <mattn.jp@gmail.com> | 2020-01-27 12:35:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 12:35:01 +0900 |
commit | d83e45e1a1f5b16dab688c9e1e1d4789a46b28bb (patch) | |
tree | 88b2611e0ae173005271787ffa90c4218daf5ac6 /settings/efm-langserver.vim | |
parent | 0d0827debc115f214b69621bb63e27b18dce2b4e (diff) | |
parent | 5d06f7504b505fdae63888d75d813e60d9675004 (diff) | |
download | vim-lsp-settings-d83e45e1a1f5b16dab688c9e1e1d4789a46b28bb.tar.gz vim-lsp-settings-d83e45e1a1f5b16dab688c9e1e1d4789a46b28bb.tar.bz2 vim-lsp-settings-d83e45e1a1f5b16dab688c9e1e1d4789a46b28bb.zip |
Merge pull request #101 from mattn/efm
Add efm-langserver
Diffstat (limited to 'settings/efm-langserver.vim')
-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..1a7c8cc --- /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(g:lsp_settings_root_markers))}, + \ '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 |