Files
vim-lsp-settings-mirror/installer/install-puppet-ls.sh
Jesse Hathaway 38e2b66917 puppet: add puppet-languageserver
Adds a puppet language server:

https://github.com/puppetlabs/puppet-editor-services.git

Install config only for UNIX boxes, as I lack a windows box to test on.

Fixes: https://github.com/mattn/vim-lsp-settings/issues/448
2021-12-23 12:55:52 +09:00

17 lines
362 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
git clone --depth=1 https://github.com/puppetlabs/puppet-editor-services.git .
bundle config set --local path 'vendor/bundle'
bundle install
bundle exec rake gem_revendor
cat <<'EOF' >puppet-ls
#!/usr/bin/env bash
set -o errexit
cd "$(dirname "$0")"
exec bundle exec ruby ./puppet-languageserver "$@"
EOF
chmod +x puppet-ls