aboutsummaryrefslogtreecommitdiff
path: root/settings/metals.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 14:50:44 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 14:50:44 +0900
commitc61920a55b3f7c56a837f2bd650a64fbbcce383e (patch)
treec1ce933744ad087113cdb6ba15c33ba9a68df497 /settings/metals.vim
parent750d4f135267fefbcfaa993abb0912c158fb92fd (diff)
parent7734093728215b27db4e10a6603e043569974374 (diff)
downloadvim-lsp-settings-c61920a55b3f7c56a837f2bd650a64fbbcce383e.tar.gz
vim-lsp-settings-c61920a55b3f7c56a837f2bd650a64fbbcce383e.tar.bz2
vim-lsp-settings-c61920a55b3f7c56a837f2bd650a64fbbcce383e.zip
Merge branch 'master' of https://github.com/mattn/vim-lsp-settings
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', []),