mattn / vim-lsp-settings

Auto configurations for Language Server for vim-lsp
MIT License
1.26k stars 225 forks source link

Fix install-terraform-ls.sh #709

Closed drichardson closed 7 months ago

drichardson commented 7 months ago

Hashicorp is releasing binaries on releases.hashicorp.com instead of github releases. Update install-terraform-ls.sh to pull from the new location.

Fixes https://github.com/mattn/vim-lsp-settings/issues/708

Testing

Before changes, install-terraform-ls.sh failed. The downloaded zip file was actually an ASCII file (not a zip) consisting of Not found.

After changes, confirmed working with:

$ ./install-terraform-ls.sh
################################################################################################ 100.0%
Archive:  terraform-ls_0.32.3.zip
replace terraform-ls? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: terraform-ls
$ echo $?
0
drichardson commented 7 months ago

nevermind, already fixed.