aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/command_line_completion_spec.lua
diff options
context:
space:
mode:
authorDhruv Manilawala <dhruvmanila@gmail.com>2022-03-08 09:45:43 +0530
committerGitHub <noreply@github.com>2022-03-07 23:15:43 -0500
commit2783f4cc4a410cd3b73e8cdfbdf8c859c426c6c6 (patch)
treecace7d0216100ece7da702f64a19d0d454ac815e /test/functional/lua/command_line_completion_spec.lua
parent3cc48e62739a310b592126cb7465d873b5c2d3b2 (diff)
downloadrneovim-2783f4cc4a410cd3b73e8cdfbdf8c859c426c6c6.tar.gz
rneovim-2783f4cc4a410cd3b73e8cdfbdf8c859c426c6c6.tar.bz2
rneovim-2783f4cc4a410cd3b73e8cdfbdf8c859c426c6c6.zip
feat(api): autocmd `group` can be either name or id (#17559)
* feat(api): `group` can be either string or int This affects the following API functions: - `vim.api.nvim_create_autocmd` - `vim.api.nvim_get_autocmds` - `vim.api.nvim_do_autocmd` closes #17552 * refactor: add two maps for fast lookups * fix: delete augroup info from id->name map When in "stupid_legacy_mode", the value in name->id map would be updated to `AUGROUP_DELETED`, but the entry would still remain in id->name. This would create a problem in `augroup_name` function which would return the name of the augroup instead of `--DELETED--`. The id->name map is only used for fast loopup in `augroup_name` function so there's no point in keeping the entry of deleted augroup in it. Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
Diffstat (limited to 'test/functional/lua/command_line_completion_spec.lua')
0 files changed, 0 insertions, 0 deletions