Change yaml tab configs

This commit is contained in:
Tunui Franken 2022-10-12 10:15:51 +02:00
parent b08ec3365a
commit b329239107

View file

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