mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
17 lines
355 B
Bash
Executable File
17 lines
355 B
Bash
Executable File
#!/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
|
|
|
|
cat <<EOF >eslint-language-server
|
|
#!/usr/bin/env bash
|
|
|
|
DIR=\$(cd \$(dirname \$0); pwd)
|
|
node \$DIR/server/out/eslintServer.js --stdio \$*
|
|
EOF
|
|
|
|
chmod +x eslint-language-server
|