aboutsummaryrefslogtreecommitdiff
path: root/installer/install-yaml-language-server.sh
diff options
context:
space:
mode:
authorMitsuo Heijo <mitsuo.heijo@gmail.com>2019-12-24 23:38:50 +0900
committerMitsuo Heijo <mitsuo.heijo@gmail.com>2019-12-24 23:39:14 +0900
commitc61632d625d340db4dcb4cc57c7d1d38fac5ccb8 (patch)
tree3da978115f86719d344ac34d1d51df94d39a5d5c /installer/install-yaml-language-server.sh
parent6bb33eb9bfeb5f2edf29f6fe517dd94014e67e88 (diff)
downloadvim-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-yaml-language-server.sh')
-rwxr-xr-xinstaller/install-yaml-language-server.sh13
1 files changed, 2 insertions, 11 deletions
diff --git a/installer/install-yaml-language-server.sh b/installer/install-yaml-language-server.sh
index 015f953..d3f0e47 100755
--- a/installer/install-yaml-language-server.sh
+++ b/installer/install-yaml-language-server.sh
@@ -4,14 +4,5 @@ set -e
cd $(dirname $0)
-server_dir="../servers/yaml-language-server"
-[ -d $server_dir ] && rm -rf $server_dir
-mkdir $server_dir && cd $server_dir
-
-npm init -y
-cat <<EOF >package.json
-{"name": ""}
-EOF
-npm install yaml-language-server
-
-ln -s ./node_modules/.bin/yaml-language-server .
+. ./npm.sh
+npm_install yaml-language-server yaml-language-server