diff options
author | Prabir <mail@prabir.me> | 2020-02-16 22:54:38 -0800 |
---|---|---|
committer | Prabir <mail@prabir.me> | 2020-02-16 22:54:38 -0800 |
commit | 67d74e925dcf9dbf095ad9361d0736bb17245ceb (patch) | |
tree | fa158bcf4441fcce8876f2587cf536bbf842aa66 /settings/rls.vim | |
parent | 7ec03dedd2596d4a99a6e0cd6f64025b5ae14e8e (diff) | |
download | vim-lsp-settings-67d74e925dcf9dbf095ad9361d0736bb17245ceb.tar.gz vim-lsp-settings-67d74e925dcf9dbf095ad9361d0736bb17245ceb.tar.bz2 vim-lsp-settings-67d74e925dcf9dbf095ad9361d0736bb17245ceb.zip |
add Cargo.toml for search and update ra_lsp_server
Diffstat (limited to 'settings/rls.vim')
-rw-r--r-- | settings/rls.vim | 2 |
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', []), |