aboutsummaryrefslogtreecommitdiff
path: root/installer/install-elixir-ls.cmd
diff options
context:
space:
mode:
authorthinca <thinca@gmail.com>2019-12-31 18:56:18 +0900
committerthinca <thinca@gmail.com>2019-12-31 18:56:18 +0900
commit60a039f6c2914e0d6320a063032c03c8fdda0760 (patch)
treeba53fd4948160d5b2980d4f7ae3484178d40ce77 /installer/install-elixir-ls.cmd
parent796a6b950a3c520ec24139836135c35364cf941d (diff)
downloadvim-lsp-settings-60a039f6c2914e0d6320a063032c03c8fdda0760.tar.gz
vim-lsp-settings-60a039f6c2914e0d6320a063032c03c8fdda0760.tar.bz2
vim-lsp-settings-60a039f6c2914e0d6320a063032c03c8fdda0760.zip
Setup server directory in Vim script
All installer scripts assume invoked at the installing path.
Diffstat (limited to 'installer/install-elixir-ls.cmd')
-rw-r--r--installer/install-elixir-ls.cmd12
1 files changed, 1 insertions, 11 deletions
diff --git a/installer/install-elixir-ls.cmd b/installer/install-elixir-ls.cmd
index a92a9cf..4a43c4b 100644
--- a/installer/install-elixir-ls.cmd
+++ b/installer/install-elixir-ls.cmd
@@ -1,17 +1,7 @@
@echo off
-setlocal
-
-cd /d %~dp0
-
-set installer_dir=%cd%
-set server_dir=..\servers\elixir-ls
-if exist %server_dir% rd /Q /S "%server_dir%"
-md "%server_dir%"
-cd /d "%server_dir%"
-
curl -L -o elixir-ls.zip "https://github.com/JakeBecker/elixir-ls/releases/download/v0.2.25/elixir-ls.zip"
-call %installer_dir%\run_unzip elixir-ls.zip
+call "%~dp0\run_unzip" elixir-ls.zip
del elixir-ls.zip
echo @echo off ^