aboutsummaryrefslogtreecommitdiff
path: root/installer/install-eslint-language-server.sh
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2020-02-25 17:17:31 +0900
committerGitHub <noreply@github.com>2020-02-25 17:17:31 +0900
commit4fe1667d731e2869ac7e005cfd72fba3f625fdc1 (patch)
tree15b446cfc061db981f02b8b980c1f11e54c10f10 /installer/install-eslint-language-server.sh
parent8293dd921193726d3ae503209ae6b4c3efce78fb (diff)
parent6f37934b2c02adc2bb2c2b6fc1b271ba65397a49 (diff)
downloadvim-lsp-settings-4fe1667d731e2869ac7e005cfd72fba3f625fdc1.tar.gz
vim-lsp-settings-4fe1667d731e2869ac7e005cfd72fba3f625fdc1.tar.bz2
vim-lsp-settings-4fe1667d731e2869ac7e005cfd72fba3f625fdc1.zip
Merge pull request #175 from johejo/fix/eslint_language_server_installer
fix installer for eslint-language-server
Diffstat (limited to 'installer/install-eslint-language-server.sh')
-rwxr-xr-xinstaller/install-eslint-language-server.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/installer/install-eslint-language-server.sh b/installer/install-eslint-language-server.sh
index df6e4f9..b188e9f 100755
--- a/installer/install-eslint-language-server.sh
+++ b/installer/install-eslint-language-server.sh
@@ -1,16 +1,16 @@
#!/usr/bin/env bash
-git clone "https://github.com/microsoft/vscode-eslint" .
-git checkout release/2.0.15
-npm install
-npm --prefix ./server install ./server
-npm run compile:server
+url="https://github.com/microsoft/vscode-eslint/releases/download/release%2F2.1.0-next.1/vscode-eslint-2.1.0.vsix"
+asset="vscode-eslint.vsix"
+curl -L "$url" -o "$asset"
+unzip "$asset"
+rm "$asset"
cat <<EOF >eslint-language-server
#!/usr/bin/env bash
DIR=\$(cd \$(dirname \$0); pwd)
-node \$DIR/server/out/eslintServer.js --stdio \$*
+node \$DIR/extension/server/out/eslintServer.js --stdio \$*
EOF
chmod +x eslint-language-server