aboutsummaryrefslogtreecommitdiff
path: root/settings/metals.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/metals.vim')
-rw-r--r--settings/metals.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/metals.vim b/settings/metals.vim
index bf11930..5527f36 100644
--- a/settings/metals.vim
+++ b/settings/metals.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_metals
LspRegisterServer {
\ 'name': 'metals',
\ 'cmd': {server_info->lsp_settings#get('metals', 'cmd', [lsp_settings#exec_path('metals')])},
- \ 'root_uri':{server_info->lsp_settings#get('metals', 'root_uri', lsp_settings#root_uri(['build.sbt']))},
+ \ 'root_uri':{server_info->lsp_settings#get('metals', 'root_uri', lsp_settings#root_uri('metals'))},
\ 'initialization_options': lsp_settings#get('metals', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('metals', 'whitelist', ['scala', 'sbt']),
\ 'blacklist': lsp_settings#get('metals', 'blacklist', []),