mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
21 lines
431 B
Bash
Executable File
21 lines
431 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd $(dirname $0)
|
|
[ -d ../servers/omnisharp-node-client ] && rm -rf ../servers/omnisharp-node-client
|
|
mkdir ../servers/omnisharp-node-client
|
|
cd ../servers/omnisharp-node-client
|
|
git clone https://github.com/OmniSharp/omnisharp-node-client .
|
|
npm install
|
|
npm build
|
|
|
|
cat <<EOF > omnisharp-node-client
|
|
#!/bin/sh
|
|
|
|
DIR=\$(cd \$(dirname \$0); pwd)
|
|
node \$DIR/languageserver/server.js
|
|
EOF
|
|
|
|
chmod +x omnisharp-node-client
|