mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Add installer
This commit is contained in:
20
installer/install-omnisharp-node-client.sh
Executable file
20
installer/install-omnisharp-node-client.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user