aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-18 18:02:00 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-18 18:02:00 +0900
commitc2609d26e6504f46f86853a0fb7f1c79131239b4 (patch)
tree2fac419f366932ba410a6abed59ccb74b831e4e6
parent6b485e52f712de9686d9ada66a2ab7b1ed8842aa (diff)
downloadvim-lsp-settings-c2609d26e6504f46f86853a0fb7f1c79131239b4.tar.gz
vim-lsp-settings-c2609d26e6504f46f86853a0fb7f1c79131239b4.tar.bz2
vim-lsp-settings-c2609d26e6504f46f86853a0fb7f1c79131239b4.zip
Add installer of pyls for Windows
-rw-r--r--installer/install-pyls.cmd16
1 files changed, 16 insertions, 0 deletions
diff --git a/installer/install-pyls.cmd b/installer/install-pyls.cmd
new file mode 100644
index 0000000..154f2d0
--- /dev/null
+++ b/installer/install-pyls.cmd
@@ -0,0 +1,16 @@
+@echo off
+
+cd %~dp0
+if exist "..\servers\pyls" rd /S /Q "..\servers\pyls"
+md "..\servers\pyls"
+cd "..\servers\pyls"
+
+python3 -m venv ./venv
+venv\bin\pip3 install python-language-server
+
+echo @echo off ^
+
+venv\bin\pyls ^
+
+> pyls.cmd
+