Module bex.autoload.augroup
:augroup
support.
Provides overrides that allow you to specify a callable
as the second parameter to bex.cmd.augroup
. It will
be invoked after entering the augroup and generate
an :augroup END
automatically afterwards. This allows
usage like:
local cmd = require('bex.cmd') cmd.augroup('my_augroup', function() cmd.autocmd.bang() cmd.autocmd(...) ... end)