chore: add terraform-ls to lazy

Add terraform-ls to lazy to enable terraform language server support.
   change hclfmt to terraform-ls for hcl files.
pull/1386/head
Juliano Barbosa 7 months ago
parent 297c0c65f4
commit 21d9284c81
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D

@ -676,6 +676,7 @@ require('lazy').setup({
},
semanticTokens = true,
},
terraformls = {},
pyright = {
capabilities = {
textDocument = {
@ -772,6 +773,7 @@ require('lazy').setup({
'shellcheck',
'stylua',
'taplo',
'terraform-ls',
'tflint',
'yaml-language-server',
'yamlfix',
@ -824,7 +826,7 @@ require('lazy').setup({
end,
formatters_by_ft = {
bash = { 'shellcheck' },
hcl = { 'fmt' },
hcl = { 'hclfmt' },
go = { 'goimports', 'gofumpt' },
lua = { 'stylua' },
-- Conform can also run multiple formatters sequentially

Loading…
Cancel
Save