Prefer terraform-ls over terraform-lsp

The LSP terraform-ls is official from Hashicorp and is focused on
stability over experimental features, as terraform-lsp is focused. The
relationship between the two is described in the [terraform-ls README][]
and reiterated in the [terraform-lsp README][].

[terraform-ls README]: https://github.com/hashicorp/terraform-ls#terraform-ls-vs-terraform-lsp
[terraform-lsp README]: https://github.com/juliosueiras/terraform-lsp

Based on this, and the fact that both LSPs are well maintained,
I believe that vim-lsp-settings should prefer installing terraform-ls
over terraform-lsp.
This commit is contained in:
Austin Ziegler
2022-02-18 09:55:16 -05:00
committed by mattn
parent 9321979bc0
commit 14c84aeb3a

View File

@@ -1320,9 +1320,9 @@
], ],
"terraform": [ "terraform": [
{ {
"command": "terraform-lsp", "command": "terraform-ls",
"url": "https://github.com/juliosueiras/terraform-lsp", "url": "https://github.com/hashicorp/terraform-ls",
"description": "Language Server Protocol for Terraform", "description": "Terraform Language Server",
"requires": [], "requires": [],
"vim_plugin": { "vim_plugin": {
"extensions": [ "extensions": [
@@ -1333,9 +1333,9 @@
} }
}, },
{ {
"command": "terraform-ls", "command": "terraform-lsp",
"url": "https://github.com/hashicorp/terraform-ls", "url": "https://github.com/juliosueiras/terraform-lsp",
"description": "Terraform Language Server", "description": "Language Server Protocol for Terraform",
"requires": [], "requires": [],
"vim_plugin": { "vim_plugin": {
"extensions": [ "extensions": [