aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/install-ra_lsp_server.cmd10
-rwxr-xr-xinstaller/install-ra_lsp_server.sh2
-rw-r--r--settings/ra_lsp_server.vim2
-rw-r--r--settings/rls.vim2
4 files changed, 8 insertions, 8 deletions
diff --git a/installer/install-ra_lsp_server.cmd b/installer/install-ra_lsp_server.cmd
index 19e063c..ef40261 100644
--- a/installer/install-ra_lsp_server.cmd
+++ b/installer/install-ra_lsp_server.cmd
@@ -1,5 +1,5 @@
-@echo off
-
-curl -L -o ra_lsp_server-windows.exe "https://github.com/rust-analyzer/rust-analyzer/releases/download/2020-01-27/ra_lsp_server-windows.exe"
-
-move ra_lsp_server-windows.exe ra_lsp_server.exe
+@echo off
+
+curl -L -o ra_lsp_server-windows.exe "https://github.com/rust-analyzer/rust-analyzer/releases/download/2020-02-11/ra_lsp_server-windows.exe"
+
+move ra_lsp_server-windows.exe ra_lsp_server.exe
diff --git a/installer/install-ra_lsp_server.sh b/installer/install-ra_lsp_server.sh
index 7b5ad9a..4f57735 100755
--- a/installer/install-ra_lsp_server.sh
+++ b/installer/install-ra_lsp_server.sh
@@ -13,7 +13,7 @@ darwin)
;;
esac
-version="2020-01-29"
+version="2020-02-11"
curl -L -o ra_lsp_server-$platform "https://github.com/rust-analyzer/rust-analyzer/releases/download/$version/ra_lsp_server-$platform"
mv ra_lsp_server-$platform ra_lsp_server
diff --git a/settings/ra_lsp_server.vim b/settings/ra_lsp_server.vim
index b4e4e87..005c06b 100644
--- a/settings/ra_lsp_server.vim
+++ b/settings/ra_lsp_server.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_ra_lsp_server
LspRegisterServer {
\ 'name': 'ra_lsp_server',
\ 'cmd': {server_info->lsp_settings#get('ra_lsp_server', 'cmd', [lsp_settings#exec_path('ra_lsp_server')])},
- \ 'root_uri':{server_info->lsp_settings#get('ra_lsp_server', 'root_uri', lsp_settings#root_uri())},
+ \ 'root_uri':{server_info->lsp_settings#get('ra_lsp_server', 'root_uri', lsp_settings#root_uri(['Cargo.toml']))},
\ 'initialization_options': lsp_settings#get('ra_lsp_server', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('ra_lsp_server', 'whitelist', ['rust']),
\ 'blacklist': lsp_settings#get('ra_lsp_server', 'blacklist', []),
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', []),