feat: terraform support

This commit is contained in:
Tine 2024-03-01 14:29:59 +01:00
parent 55d9e056dc
commit 72265b942d
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 6 additions and 0 deletions

View file

@ -39,6 +39,7 @@
devbox devbox
nodePackages.prettier nodePackages.prettier
direnv direnv
sqlfluff
# Docker # Docker
docker-compose docker-compose

View file

@ -11,6 +11,8 @@ require("copilot").setup({
python = true, python = true,
css = true, css = true,
tmpl = true, tmpl = true,
tf = true,
terraform = true,
}, },
}) })
require("copilot_cmp").setup() require("copilot_cmp").setup()
@ -220,6 +222,9 @@ require("formatter").setup({
proto = { proto = {
require("formatter.filetypes.proto").buf_format, require("formatter.filetypes.proto").buf_format,
}, },
terraform = {
require("formatter.filetypes.terraform").terraformfmt,
},
-- Use the special "*" filetype for defining formatter configurations on -- Use the special "*" filetype for defining formatter configurations on
-- any filetype -- any filetype