mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
Merge 981d9cb1ed into 459a4c3b10
This commit is contained in:
commit
9f9afa2abd
1 changed files with 10 additions and 0 deletions
|
|
@ -16,6 +16,16 @@ return {
|
|||
servers = {
|
||||
terraformls = {},
|
||||
},
|
||||
setup = {
|
||||
terraformls = function(_, opts)
|
||||
-- workaround for terraform-ls sending invalid semantic tokens
|
||||
-- https://github.com/hashicorp/terraform-ls/issues/2094
|
||||
Snacks.util.lsp.on({ name = "terraformls" }, function(_, client)
|
||||
client.server_capabilities.semanticTokensProvider = nil
|
||||
end)
|
||||
-- end workaround
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
-- ensure terraform tools are installed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue