aboutsummaryrefslogtreecommitdiff
path: root/settings/rls.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/rls.vim')
-rw-r--r--settings/rls.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/rls.vim b/settings/rls.vim
index 22aba06..6e87086 100644
--- a/settings/rls.vim
+++ b/settings/rls.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_rls
LspRegisterServer {
\ 'name': 'rls',
\ 'cmd': {server_info->lsp_settings#get('rls', 'cmd', [lsp_settings#exec_path('rls')])},
- \ 'root_uri':{server_info->lsp_settings#get('rls', 'root_uri', lsp_settings#root_uri())},
+ \ 'root_uri':{server_info->lsp_settings#get('rls', 'root_uri', lsp_settings#root_uri(['Cargo.toml']))},
\ 'initialization_options': lsp_settings#get('rls', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('rls', 'whitelist', ['rust']),
\ 'blacklist': lsp_settings#get('rls', 'blacklist', []),