diff options
| author | Peter Lithammer <peter.lithammer@gmail.com> | 2020-09-06 00:07:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-05 15:07:53 -0700 |
| commit | 35758f5eebb90a8a1d30975cb0a81531f97d7deb (patch) | |
| tree | 7b8dd7d1a8b605749ff19d6e6e50e077b5565990 /lua/nvim_lsp | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.tar nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.tar.gz nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.tar.bz2 nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.tar.lz nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.tar.xz nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.tar.zst nvim-lspconfig-35758f5eebb90a8a1d30975cb0a81531f97d7deb.zip | |
terraform-ls: switch to Hashicorp Terraform language server #345
The `juliosueiras/terraform-lsp` project readme says:
> The aim to have a unified lsp for terraform in the future, but for now there is two concurrent development with collabration to each other, this repo is aim for more experimental features, and the terraform-ls is aim for stableness
Hashicorp's seems to be more actively developed nowadays as well.
https://github.com/hashicorp/terraform-ls
Diffstat (limited to 'lua/nvim_lsp')
| -rw-r--r-- | lua/nvim_lsp/terraformls.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim_lsp/terraformls.lua b/lua/nvim_lsp/terraformls.lua index a93113e1..0a65ff23 100644 --- a/lua/nvim_lsp/terraformls.lua +++ b/lua/nvim_lsp/terraformls.lua @@ -3,7 +3,7 @@ local util = require 'nvim_lsp/util' configs.terraformls = { default_config = { - cmd = {"terraform-lsp"}; + cmd = {"terraform-ls"}; filetypes = {"terraform"}; root_dir = util.root_pattern(".terraform", ".git"); }; @@ -13,7 +13,7 @@ configs.terraformls = { https://github.com/juliosueiras/terraform-lsp Terraform language server -You can use [released binary](https://github.com/juliosueiras/terraform-lsp/releases) or [build](https://github.com/juliosueiras/terraform-lsp#building) your own. +Download a released binary from https://github.com/hashicorp/terraform-ls/releases. ]]; default_config = { root_dir = [[root_pattern(".terraform", ".git")]]; |
