diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-28 23:48:14 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-28 23:48:14 +0900 |
commit | 7acb14c3bc9ae10181ef03e86f704ff4e5a06051 (patch) | |
tree | 03216a961382878d2c54985b3e0fa4c8270a2802 /settings | |
parent | 2db366c8b5e401afac50831282b82e0f5faa9d61 (diff) | |
download | vim-lsp-settings-7acb14c3bc9ae10181ef03e86f704ff4e5a06051.tar.gz vim-lsp-settings-7acb14c3bc9ae10181ef03e86f704ff4e5a06051.tar.bz2 vim-lsp-settings-7acb14c3bc9ae10181ef03e86f704ff4e5a06051.zip |
Add elixir-ls
Diffstat (limited to 'settings')
-rw-r--r-- | settings/elixir-ls.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/settings/elixir-ls.vim b/settings/elixir-ls.vim new file mode 100644 index 0000000..6695e0c --- /dev/null +++ b/settings/elixir-ls.vim @@ -0,0 +1,14 @@ +augroup vimlsp_settings_elixir_ls + au! + LspRegisterServer { + \ 'name': 'elixir-ls', + \ 'cmd': {server_info->lsp_settings#get('elixir-ls', 'cmd', [lsp_settings#exec_path('elixir-ls')])}, + \ 'root_uri':{server_info->lsp_settings#get('elixir-ls', 'root_uri', lsp_settings#root_uri(['.git/']))}, + \ 'initialization_options': lsp_settings#get('elixir-ls', 'initialization_options', v:null), + \ 'whitelist': lsp_settings#get('elixir-ls', 'whitelist', ['elixir']), + \ 'blacklist': lsp_settings#get('elixir-ls', 'blacklist', []), + \ 'config': lsp_settings#get('elixir-ls', 'config', {}), + \ 'workspace_config': lsp_settings#get('elixir-ls', 'workspace_config', {}), + \ } +augroup END + |