aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 01:38:53 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 01:38:53 +0900
commit6259ee013a47cf5c0cd246c969b4e494d5023cd5 (patch)
treebb1d5da3c5503586c585793954641609ed89034a /installer
parentc02b4e8b467828e1876487d9baedbdb4b51d9231 (diff)
downloadvim-lsp-settings-6259ee013a47cf5c0cd246c969b4e494d5023cd5.tar.gz
vim-lsp-settings-6259ee013a47cf5c0cd246c969b4e494d5023cd5.tar.bz2
vim-lsp-settings-6259ee013a47cf5c0cd246c969b4e494d5023cd5.zip
Add installer for kotlin-language-server
Diffstat (limited to 'installer')
-rw-r--r--installer/install-kotlin-language-server.cmd16
1 files changed, 16 insertions, 0 deletions
diff --git a/installer/install-kotlin-language-server.cmd b/installer/install-kotlin-language-server.cmd
new file mode 100644
index 0000000..84d5cbf
--- /dev/null
+++ b/installer/install-kotlin-language-server.cmd
@@ -0,0 +1,16 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\kotlin-language-server" rd /S /Q "..\servers\kotlin-language-server"
+md "..\servers\kotlin-language-server"
+cd "..\servers\kotlin-language-server"
+curl -L -o server.zip "https://github.com/fwcd/kotlin-language-server/releases/download/0.5.2/server.zip"
+unzip server.zip
+del server.zip
+
+echo @echo off ^
+
+call %%~dp0\server\bin\kotlin-language-server.bat %%* ^
+
+> kotlin-language-server.cmd
+