mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
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:
@@ -142,6 +142,7 @@ return {
|
||||
"event";
|
||||
"group";
|
||||
"pattern";
|
||||
"buffer";
|
||||
};
|
||||
create_augroup = {
|
||||
"clear";
|
||||
|
Reference in New Issue
Block a user