aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2020-01-09 12:13:37 +0900
committerGitHub <noreply@github.com>2020-01-09 12:13:37 +0900
commit5bd97b1881128626c779fcca81ccf3eb612c0d26 (patch)
treeb587d4fe78bd348286cab6cd9a02c059d5f13c02
parent5e91de8d1e03eab15e741cab325dc08e9851e547 (diff)
parent5cbb60f9c6a0061250acb75c37bb3b0b75c2081f (diff)
downloadvim-lsp-settings-5bd97b1881128626c779fcca81ccf3eb612c0d26.tar.gz
vim-lsp-settings-5bd97b1881128626c779fcca81ccf3eb612c0d26.tar.bz2
vim-lsp-settings-5bd97b1881128626c779fcca81ccf3eb612c0d26.zip
Merge pull request #79 from tyru/fix-clangd-installer
[Fix] clangd installer does not respect g:lsp_settings_servers_dir
-rw-r--r--installer/install-clangd.cmd8
-rwxr-xr-xinstaller/install-clangd.sh6
2 files changed, 0 insertions, 14 deletions
diff --git a/installer/install-clangd.cmd b/installer/install-clangd.cmd
index 3079de1..b191197 100644
--- a/installer/install-clangd.cmd
+++ b/installer/install-clangd.cmd
@@ -2,14 +2,6 @@
setlocal
-cd /d %~dp0
-
-set installer_dir=%cd%
-set server_dir=..\servers\clangd
-if exist %server_dir% rd /Q /S "%server_dir%"
-md "%server_dir%"
-cd /d "%server_dir%"
-
echo Downloading clang and LLVM...
curl -L -o LLVM-9.0.0-win64.exe "http://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe"
echo Running setup...
diff --git a/installer/install-clangd.sh b/installer/install-clangd.sh
index 75db8c1..3d1cfd0 100755
--- a/installer/install-clangd.sh
+++ b/installer/install-clangd.sh
@@ -2,12 +2,6 @@
set -e
-cd $(dirname $0)
-
-server_dir="../servers/clangd"
-[ -d $server_dir ] && rm -rf $server_dir
-mkdir $server_dir && cd $server_dir
-
os=$(uname -s | tr "[:upper:]" "[:lower:]")
case $os in