feat(api): nvim_get_autocmds filter by id#31549

Problem:
nvim_get_autocmds cannot filter by id.

Solution:
Support it.
This commit is contained in:
glepnir
2025-01-27 07:28:33 +08:00
committed by GitHub
parent b8e947ed4e
commit d84a95da7e
6 changed files with 146 additions and 53 deletions

View File

@@ -117,6 +117,7 @@ error('Cannot require a meta file')
--- @field group? integer|string
--- @field pattern? string|string[]
--- @field buffer? integer|integer[]
--- @field id? integer
--- @class vim.api.keyset.get_commands
--- @field builtin? boolean