aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix1
-rw-r--r--init.lua2
2 files changed, 3 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index cab6a93..fcc5e7c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -120,6 +120,7 @@
nixfmt
languagetool
lf
+ terraform-ls
]
}
makeWrapper ${myneovim}/bin/nvim $out/bin/nvim --prefix PATH : $BINPATH
diff --git a/init.lua b/init.lua
index b17b046..0b6770e 100644
--- a/init.lua
+++ b/init.lua
@@ -35,6 +35,8 @@ vim.o.tabstop = 4
vim.o.shiftwidth = 0
vim.cmd [[
autocmd Filetype nix setlocal ts=2 sw=2 sts=0 expandtab
+autocmd Filetype terraform setlocal ts=2 sw=2 sts=0 expandtab
+autocmd Filetype hcl setlocal ts=2 sw=2 sts=0 expandtab
]]
vim.o.relativenumber = true
-- Distable word wrap