Add terraform filetype to indent autocommand

This commit is contained in:
flyingscorpio@clevo 2023-04-14 08:49:07 +02:00
parent 1c0a017042
commit 6bc4bb302c

View file

@ -43,7 +43,7 @@ vim.api.nvim_create_autocmd("BufEnter", {
group = group
})
vim.api.nvim_create_autocmd("FileType", {
pattern = { "lua", "vhdl", "yaml" },
pattern = { "lua", "vhdl", "yaml", "terraform" },
command = "setlocal shiftwidth=2 tabstop=2 softtabstop=2",
group = group
})