Use FileType instead of BufEnter for asm and make
This commit is contained in:
parent
888d1e913f
commit
767768e5a7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue