feat(api): add 'buffer' argument to nvim_get_autocmds (#17594)

This enables retrieving autocommands defined in the given buffers. Under
the hood this simply translates the buffer numbers into '<buffer=%d>'
patterns.
This commit is contained in:
Gregory Anders
2022-03-06 12:35:14 -07:00
committed by GitHub
parent 3800615da9
commit 92349b1db0
4 changed files with 125 additions and 8 deletions

View File

@@ -142,6 +142,7 @@ return {
"event";
"group";
"pattern";
"buffer";
};
create_augroup = {
"clear";