Use FileType instead of BufEnter for asm and make

This commit is contained in:
flyingscorpio@clevo 2022-09-14 08:39:09 +02:00
parent 888d1e913f
commit 767768e5a7

View file

@ -32,8 +32,8 @@ vim.api.nvim_create_autocmd("FileType", {
command = "setlocal colorcolumn=80",
group = group
})
vim.api.nvim_create_autocmd("BufEnter", {
pattern = { "Makefile", "*.asm" },
vim.api.nvim_create_autocmd("FileType", {
pattern = { "make", "asm" },
command = "setlocal noexpandtab tabstop=6 shiftwidth=6 softtabstop=0",
group = group
})