- [Pull request #14661](https://github.com/neovim/neovim/pull/14661) (lua: autocmds take 2)
In the meantime, you can either create autocommands in Vimscript or use [this wrapper from norcalli/nvim_utils](https://github.com/norcalli/nvim_utils/blob/master/lua/nvim_utils.lua#L554-L567)