mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-26 09:07:52 +00:00
feat: terraform support
This commit is contained in:
parent
55d9e056dc
commit
72265b942d
2 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
||||||
devbox
|
devbox
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
direnv
|
direnv
|
||||||
|
sqlfluff
|
||||||
|
|
||||||
# Docker
|
# Docker
|
||||||
docker-compose
|
docker-compose
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue