diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-03-06 12:35:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 12:35:14 -0700 |
commit | 92349b1db0039aac3a43089d0aade2437164505c (patch) | |
tree | 8917d542e9fb66f95118d472997419c8ed0a2f1c /src/nvim/api/keysets.lua | |
parent | 3800615da9eaf9e8b26d9040c882c74084d688e4 (diff) | |
download | rneovim-92349b1db0039aac3a43089d0aade2437164505c.tar.gz rneovim-92349b1db0039aac3a43089d0aade2437164505c.tar.bz2 rneovim-92349b1db0039aac3a43089d0aade2437164505c.zip |
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.
Diffstat (limited to 'src/nvim/api/keysets.lua')
-rw-r--r-- | src/nvim/api/keysets.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/keysets.lua b/src/nvim/api/keysets.lua index 32d4e98822..435e8195dd 100644 --- a/src/nvim/api/keysets.lua +++ b/src/nvim/api/keysets.lua @@ -142,6 +142,7 @@ return { "event"; "group"; "pattern"; + "buffer"; }; create_augroup = { "clear"; |