aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2023-03-09 15:08:28 -0700
committerCody Hiar <cody@hiar.ca>2023-03-09 15:08:28 -0700
commit9434c4520bff19e9d40c4f349869bfea5db34900 (patch)
treeed083c82c3fab1da98014cd971675a3c875e2038
parent04a56f6431e38ad0121f0f81e9200aa32c96c2f9 (diff)
set nomad files as hcl
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 8da2827..72e4dd6 100644
--- a/init.lua
+++ b/init.lua
@@ -37,6 +37,7 @@ 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
+autocmd BufNewFile,BufRead *.nomad setfiletype hcl
]]
vim.o.relativenumber = true
-- Distable word wrap