diff options
author | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-24 23:38:50 +0900 |
---|---|---|
committer | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-24 23:39:14 +0900 |
commit | c61632d625d340db4dcb4cc57c7d1d38fac5ccb8 (patch) | |
tree | 3da978115f86719d344ac34d1d51df94d39a5d5c /installer/install-vim-language-server.sh | |
parent | 6bb33eb9bfeb5f2edf29f6fe517dd94014e67e88 (diff) | |
download | vim-lsp-settings-c61632d625d340db4dcb4cc57c7d1d38fac5ccb8.tar.gz vim-lsp-settings-c61632d625d340db4dcb4cc57c7d1d38fac5ccb8.tar.bz2 vim-lsp-settings-c61632d625d340db4dcb4cc57c7d1d38fac5ccb8.zip |
feature: support metals, fortls
- fix: imporve npm and pip install
- proposal: add simple test script
Diffstat (limited to 'installer/install-vim-language-server.sh')
-rwxr-xr-x | installer/install-vim-language-server.sh | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/installer/install-vim-language-server.sh b/installer/install-vim-language-server.sh index be76522..17b87df 100755 --- a/installer/install-vim-language-server.sh +++ b/installer/install-vim-language-server.sh @@ -1,20 +1,8 @@ -#!/bin/sh +#!/bin/bash set -e cd $(dirname $0) -[ -d ../servers/vim-language-server ] && rm -rf ../servers/vim-language-server -mkdir ../servers/vim-language-server -cd ../servers/vim-language-server -git clone https://github.com/iamcco/vim-language-server . -yarn -yarn build -cat <<EOF > vim-language-server -#!/bin/sh - -DIR=\$(cd \$(dirname \$0); pwd) -node \$DIR/bin/index.js --stdio -EOF - -chmod +x vim-language-server +. ./npm.sh +npm_install vim-language-server vim-language-server |