fix vim-autocmd, I had reused the same augroup and removed all configs that way :D

This commit is contained in:
2025-08-25 18:28:09 +02:00
parent f491ace3af
commit 634727de12
2 changed files with 3 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ if vim.api.nvim_win_get_option(0, "diff") then
end
-- autocommands for specific files
local configgroup = vim.api.nvim_create_augroup('configgroup', { clear = true })
local configgroup = vim.api.nvim_create_augroup('MY_DEFAULTS', { clear = true })
function fix_filetype(pattern, filetype)
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {