aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index c8a1927..c191507 100644
--- a/init.lua
+++ b/init.lua
@@ -42,7 +42,10 @@ autocmd Filetype htmldjango setlocal ts=2 sw=2 sts=0 expandtab
autocmd BufNewFile,BufRead *.nomad setfiletype hcl
autocmd BufNewFile,BufRead *.yaml setfiletype yaml.ansible
autocmd BufNewFile,BufRead *.yml setfiletype yaml.ansible
+autocmd BufNewFile,BufRead *.tfvars setfiletype terraform
]]
+-- https://github.com/neovim/nvim-lspconfig/issues/2685#issuecomment-1623575758
+-- ^ for the tfvars to terraform above
vim.o.relativenumber = true
-- Distable word wrap
vim.o.wrap = false