mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
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
17 lines
362 B
Bash
Executable File
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
|