[vim] Add a group to the ZSH path auto commands

This commit is contained in:
Eryn Wells 2023-04-06 08:25:25 -07:00
parent 148c79d7b2
commit cd98e5d1d6

View file

@ -1,6 +1,8 @@
-- 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",
})