[vim] Remove the autocmd group from the Zsh autocommands in its ftdetect script

Apparently autocmds in ftdetect scripts are automatically grouped, so they don't
need an explicit group.
This commit is contained in:
Eryn Wells 2024-08-02 18:24:30 -07:00
parent 2c0a0ab332
commit 3110e2ff76

View file

@ -1,8 +1,6 @@
-- Eryn Wells <eryn@erynwells.me>
local dotfilesZshGroup = vim.api.nvim_create_augroup("DotfilesZSH", {clear = true})
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
pattern = {"*/zsh/*"},
group = dotfilesZshGroup,
command = "setfiletype zsh",
})