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

Loading…
Cancel
Save