diff --git a/nix/home.nix b/nix/home.nix index 58fd641..d6e9f98 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -39,6 +39,7 @@ devbox nodePackages.prettier direnv + sqlfluff # Docker docker-compose diff --git a/nvim/lua/code_helpers.lua b/nvim/lua/code_helpers.lua index 32e78d9..e3f9225 100644 --- a/nvim/lua/code_helpers.lua +++ b/nvim/lua/code_helpers.lua @@ -11,6 +11,8 @@ require("copilot").setup({ python = true, css = true, tmpl = true, + tf = true, + terraform = true, }, }) require("copilot_cmp").setup() @@ -220,6 +222,9 @@ require("formatter").setup({ proto = { require("formatter.filetypes.proto").buf_format, }, + terraform = { + require("formatter.filetypes.terraform").terraformfmt, + }, -- Use the special "*" filetype for defining formatter configurations on -- any filetype