aboutsummaryrefslogtreecommitdiff
path: root/installer/install-texlab.cmd
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-28 21:02:27 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-28 21:02:27 +0900
commitbab2a078d67caf9e62ea2232b2581cb9197a2579 (patch)
tree70180653a493ecb2d4fe38287eab4fafa7fe1791 /installer/install-texlab.cmd
parent3f2113c05c219460616a7cb2139d372693c08e09 (diff)
downloadvim-lsp-settings-bab2a078d67caf9e62ea2232b2581cb9197a2579.tar.gz
vim-lsp-settings-bab2a078d67caf9e62ea2232b2581cb9197a2579.tar.bz2
vim-lsp-settings-bab2a078d67caf9e62ea2232b2581cb9197a2579.zip
Add texlab
Diffstat (limited to 'installer/install-texlab.cmd')
-rw-r--r--installer/install-texlab.cmd15
1 files changed, 15 insertions, 0 deletions
diff --git a/installer/install-texlab.cmd b/installer/install-texlab.cmd
new file mode 100644
index 0000000..5d7cece
--- /dev/null
+++ b/installer/install-texlab.cmd
@@ -0,0 +1,15 @@
+@echo off
+
+setlocal
+
+cd /d %~dp0
+
+set installer_dir=%cd%
+set server_dir=..\servers\texlab
+if exist %server_dir% rd /Q /S "%server_dir%"
+md "%server_dir%"
+cd /d "%server_dir%"
+
+curl -L -o texlab-x86_64-windows.zip "https://github.com/latex-lsp/texlab/releases/download/v1.8.0/texlab-x86_64-windows.zip"
+call %installer_dir%\run_unzip texlab-x86_64-windows.zip
+del texlab-x86_64-windows.zip