aboutsummaryrefslogtreecommitdiff
path: root/settings/elixir-ls.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/elixir-ls.vim')
-rw-r--r--settings/elixir-ls.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/elixir-ls.vim b/settings/elixir-ls.vim
index 6695e0c..9d58453 100644
--- a/settings/elixir-ls.vim
+++ b/settings/elixir-ls.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_elixir_ls
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/']))},
+ \ 'root_uri':{server_info->lsp_settings#get('elixir-ls', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
\ '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', []),