aboutsummaryrefslogtreecommitdiff
path: root/installer/install-docker-langserver.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-docker-langserver.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-docker-langserver.sh')
-rwxr-xr-xinstaller/install-docker-langserver.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/installer/install-docker-langserver.sh b/installer/install-docker-langserver.sh
index 59e0b7e..28b433f 100755
--- a/installer/install-docker-langserver.sh
+++ b/installer/install-docker-langserver.sh
@@ -2,14 +2,7 @@
set -e
-server_dir="../servers/docker-langserver"
-
cd $(dirname $0)
-[ -d $server_dir ] && rm -rf $server_dir
-mkdir $server_dir && cd $server_dir
-
-npm init -y
-sed -i -e 's/\"name\":.*$/\"name\": \"\",/' package.json
-npm install dockerfile-language-server-nodejs
-ln -s ./node_modules/.bin/docker-langserver .
+. ./npm.sh
+npm_install docker-langserver dockerfile-language-server-nodejs