diff options
author | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-18 00:23:54 +0900 |
---|---|---|
committer | Mitsuo Heijo <mitsuo.heijo@gmail.com> | 2019-12-18 00:23:54 +0900 |
commit | 449c318e119d7b890922c14bec93aa752d5016fd (patch) | |
tree | 5852a981d6aba9e2ccd4eaa65a192686b16e5cec /installer/install-docker-langserver.sh | |
parent | 37a8e4c6820e63781bde2e75662d750f014c65b7 (diff) | |
download | vim-lsp-settings-449c318e119d7b890922c14bec93aa752d5016fd.tar.gz vim-lsp-settings-449c318e119d7b890922c14bec93aa752d5016fd.tar.bz2 vim-lsp-settings-449c318e119d7b890922c14bec93aa752d5016fd.zip |
Add some language servers and fix pyls installer.
Added servers
- terraform-lsp
- dockerfile-language-server-nodejs
- bash-language-server
Fix pyls installer
Using venv (drop python2 support)
Diffstat (limited to 'installer/install-docker-langserver.sh')
-rwxr-xr-x | installer/install-docker-langserver.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/installer/install-docker-langserver.sh b/installer/install-docker-langserver.sh new file mode 100755 index 0000000..59e0b7e --- /dev/null +++ b/installer/install-docker-langserver.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +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 . |