From 35758f5eebb90a8a1d30975cb0a81531f97d7deb Mon Sep 17 00:00:00 2001 From: Peter Lithammer Date: Sun, 6 Sep 2020 00:07:53 +0200 Subject: 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 --- lua/nvim_lsp/terraformls.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/nvim_lsp') 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")]]; -- cgit v1.2.3-70-g09d2