From 308ef596346730aadbd607b37bda53abd4e7400e Mon Sep 17 00:00:00 2001 From: lnsf Date: Mon, 2 Mar 2020 19:16:03 +0900 Subject: Fix download binary name --- installer/install-rust-analyzer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/install-rust-analyzer.sh b/installer/install-rust-analyzer.sh index fa5a291..0f00c00 100755 --- a/installer/install-rust-analyzer.sh +++ b/installer/install-rust-analyzer.sh @@ -14,7 +14,7 @@ darwin) esac version="2020-02-24" -curl -L -o ra_lsp_server-$platform "https://github.com/rust-analyzer/rust-analyzer/releases/download/$version/rust-analyzer-$platform" +curl -L -o rust-analyzer-$platform "https://github.com/rust-analyzer/rust-analyzer/releases/download/$version/rust-analyzer-$platform" mv rust-analyzer-$platform rust-analyzer chmod +x rust-analyzer -- cgit v1.2.3-54-g00ecf From c1b2732f125ecaf34082ef2d331c6d37a496e29c Mon Sep 17 00:00:00 2001 From: lnsf Date: Tue, 3 Mar 2020 09:09:29 +0900 Subject: Delete files about ra_lsp_server --- installer/install-ra_lsp_server.cmd | 5 ----- installer/install-ra_lsp_server.sh | 20 -------------------- settings/ra_lsp_server.vim | 14 -------------- 3 files changed, 39 deletions(-) delete mode 100644 installer/install-ra_lsp_server.cmd delete mode 100755 installer/install-ra_lsp_server.sh delete mode 100644 settings/ra_lsp_server.vim diff --git a/installer/install-ra_lsp_server.cmd b/installer/install-ra_lsp_server.cmd deleted file mode 100644 index ef40261..0000000 --- a/installer/install-ra_lsp_server.cmd +++ /dev/null @@ -1,5 +0,0 @@ -@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 deleted file mode 100755 index 4f57735..0000000 --- a/installer/install-ra_lsp_server.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -set -e - -os=$(uname -s | tr "[:upper:]" "[:lower:]") - -case $os in -linux) - platform="linux" - ;; -darwin) - platform="mac" - ;; -esac - -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 -chmod +x ra_lsp_server diff --git a/settings/ra_lsp_server.vim b/settings/ra_lsp_server.vim deleted file mode 100644 index 95d0272..0000000 --- a/settings/ra_lsp_server.vim +++ /dev/null @@ -1,14 +0,0 @@ -augroup vimlsp_settings_ra_lsp_server - au! - 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('ra_lsp_server'))}, - \ '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', []), - \ 'config': lsp_settings#get('ra_lsp_server', 'config', lsp_settings#server_config('ra_lsp_server')), - \ 'workspace_config': lsp_settings#get('ra_lsp_server', 'workspace_config', {}), - \ 'semantic_highlight': lsp_settings#get('ra_lsp_server', 'semantic_highlight', {}), - \ } -augroup END -- cgit v1.2.3-54-g00ecf From cef631610c28ea34901abab44111941f48b34e86 Mon Sep 17 00:00:00 2001 From: lnsf Date: Tue, 3 Mar 2020 10:03:51 +0900 Subject: Remove entry of ra_lsp_server --- settings.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/settings.json b/settings.json index 0a5c10b..024abd6 100644 --- a/settings.json +++ b/settings.json @@ -525,13 +525,6 @@ "root_uri_patterns": [ "Cargo.toml" ] - }, - { - "command": "ra_lsp_server", - "requires": [], - "root_uri_patterns": [ - "Cargo.toml" - ] } ], "sass": [ -- cgit v1.2.3-54-g00ecf