diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 02:47:35 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 02:47:35 +0900 |
commit | 0bd056ae3db454f076edd278237cdb1cca503d51 (patch) | |
tree | 4c41e74e47d84af16bf418b575efbe63cf2d3738 /installer | |
parent | 8ba0ccfdcc9b8ee5d9e90a993d364eb07a2deda4 (diff) | |
download | vim-lsp-settings-0bd056ae3db454f076edd278237cdb1cca503d51.tar.gz vim-lsp-settings-0bd056ae3db454f076edd278237cdb1cca503d51.tar.bz2 vim-lsp-settings-0bd056ae3db454f076edd278237cdb1cca503d51.zip |
Add installer
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/install-intelephense-server.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/installer/install-intelephense-server.sh b/installer/install-intelephense-server.sh new file mode 100755 index 0000000..7bbc064 --- /dev/null +++ b/installer/install-intelephense-server.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +cd $(dirname $0) +[ -d ../servers/intelephense-server ] && rm -rf ../servers/intelephense-server +mkdir ../servers/intelephense-server +cd ../servers/intelephense-server +git clone "https://github.com/bmewburn/vscode-intelephense" . +npm install +npm run compile + +cat <<EOF > intelephense-server +#!/bin/sh + +DIR=\$(cd \$(dirname \$0); pwd) +node \$DIR/node_modules/.bin/intelephense --stdio +EOF + +chmod +x vim-language-server |