diff options
author | mattn <mattn.jp@gmail.com> | 2019-12-19 00:53:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 00:53:40 +0900 |
commit | d7bd902603e1955935748282757da191162631c8 (patch) | |
tree | d36de0dcd6b1ee70918ac4a298e6369ac6a62cc2 /installer/install-yaml-language-server.sh | |
parent | fe18fd71e6a5ec372891a368adafc1965c67c33d (diff) | |
parent | 0474725cce2f851b4dfa921740ca3c95855dfe04 (diff) | |
download | vim-lsp-settings-d7bd902603e1955935748282757da191162631c8.tar.gz vim-lsp-settings-d7bd902603e1955935748282757da191162631c8.tar.bz2 vim-lsp-settings-d7bd902603e1955935748282757da191162631c8.zip |
Merge pull request #5 from johejo/feature/support_yaml_and_xml
feature: Support yaml-language-server and lsp4xml
Diffstat (limited to 'installer/install-yaml-language-server.sh')
-rwxr-xr-x | installer/install-yaml-language-server.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/installer/install-yaml-language-server.sh b/installer/install-yaml-language-server.sh new file mode 100755 index 0000000..015f953 --- /dev/null +++ b/installer/install-yaml-language-server.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +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 . |