I'm using NeoVim and trying to understand why the need of creating
augroup. Then I realized that I don't know the two related commands
doautocmd. Can anyone help me point out the important part I should care?
To be more specific, under
:h doautocmd, I cannot understand this paragraph:
When the [group] argument is not given, Vim executes the autocommands for all groups. When the [group] argument is included, Vim executes only the matching autocommands for that group. Undefined group is an error.
What does it mean "executes the autocommands for all groups" when these groups are
autocmds to execute?
As this is an important topic to me, I will also try to answer myself after I would figure it out.