dotfiles/config/nvim/ftdetect/zsh.lua
Eryn Wells 3110e2ff76 [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.
2024-08-02 18:31:38 -07:00

6 lines
155 B
Lua

-- Eryn Wells <eryn@erynwells.me>
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
pattern = {"*/zsh/*"},
command = "setfiletype zsh",
})