aboutsummaryrefslogtreecommitdiff
path: root/settings/metals.vim
diff options
context:
space:
mode:
authorMitsuo Heijo <mitsuo.heijo@gmail.com>2019-12-25 00:26:50 +0900
committerMitsuo Heijo <mitsuo.heijo@gmail.com>2019-12-25 00:26:50 +0900
commitf4c06c1af0883f40e6d39ed3c4860b3a10f6ffef (patch)
treeb1b15a5a99f8b0da9084db075afba1cc2b96dd19 /settings/metals.vim
parent4de5cb5805853675c7eedadd02309a680fad175f (diff)
downloadvim-lsp-settings-f4c06c1af0883f40e6d39ed3c4860b3a10f6ffef.tar.gz
vim-lsp-settings-f4c06c1af0883f40e6d39ed3c4860b3a10f6ffef.tar.bz2
vim-lsp-settings-f4c06c1af0883f40e6d39ed3c4860b3a10f6ffef.zip
fix: metals 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 61413fa..e61377b 100644
--- a/settings/metals.vim
+++ b/settings/metals.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_metals
autocmd User lsp_setup ++once call lsp#register_server({
\ 'name': 'metals',
\ 'cmd': {server_info->lsp_settings#get('metals', 'cmd', [lsp_settings#exec_path('metals')])},
- \ 'root_uri':{server_info->lsp_settings#get('gopls', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/', 'build.sbt'])))},
+ \ 'root_uri':{server_info->lsp_settings#get('metals', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/', 'build.sbt'])))},
\ 'whitelist': lsp_settings#get('metals', 'whitelist', ['scala', 'sbt']),
\ 'blacklist': lsp_settings#get('metals', 'blacklist', []),
\ 'config': lsp_settings#get('metals', 'config', {}),