aboutsummaryrefslogtreecommitdiff
path: root/installer/install-vim-language-server.sh
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2019-12-25 09:23:07 +0900
committerGitHub <noreply@github.com>2019-12-25 09:23:07 +0900
commit008181bf9aedf976fdb725dcf9340e7f775d1fa8 (patch)
treef5b9276c1369379ff821277659853a03dbced4c4 /installer/install-vim-language-server.sh
parent0bbdaf2e780fb8172a5be9bf25ba3fadc1d1cef9 (diff)
parentbc6a978d443a07c993cae278e57fa6b1a1948fac (diff)
downloadvim-lsp-settings-008181bf9aedf976fdb725dcf9340e7f775d1fa8.tar.gz
vim-lsp-settings-008181bf9aedf976fdb725dcf9340e7f775d1fa8.tar.bz2
vim-lsp-settings-008181bf9aedf976fdb725dcf9340e7f775d1fa8.zip
Merge pull request #12 from johejo/feature/add_servers_fortls_metals
Feature/add servers fortls metals
Diffstat (limited to 'installer/install-vim-language-server.sh')
-rwxr-xr-xinstaller/install-vim-language-server.sh18
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