diff options
author | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-19 00:35:59 +0900 |
---|---|---|
committer | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-19 00:35:59 +0900 |
commit | 0474725cce2f851b4dfa921740ca3c95855dfe04 (patch) | |
tree | dd36236638dedef440e52350f88fe3256f99bfad /installer/install-yaml-language-server.sh | |
parent | b384fe6f3c8c46315821bf2a08798bfdcda880ee (diff) | |
download | vim-lsp-settings-0474725cce2f851b4dfa921740ca3c95855dfe04.tar.gz vim-lsp-settings-0474725cce2f851b4dfa921740ca3c95855dfe04.tar.bz2 vim-lsp-settings-0474725cce2f851b4dfa921740ca3c95855dfe04.zip |
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 . |