mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 23:35:32 +00:00
vim-patch:9.1.1679: unclear what key causes CmdlineLeave autocommand (#35677)
Problem: unclear what key causes CmdlineLeave autocommand
Solution: Set |v:char| to the key (Girish Palya).
related: vim/vim#17806
closes: vim/vim#18063
ba9551d131
Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
3
runtime/lua/vim/_meta/vvars.lua
generated
3
runtime/lua/vim/_meta/vvars.lua
generated
@@ -14,7 +14,8 @@ vim.v.argv = ...
|
||||
|
||||
--- Argument for evaluating 'formatexpr' and used for the typed
|
||||
--- character when using <expr> in an abbreviation `:map-<expr>`.
|
||||
--- It is also used by the `InsertCharPre` and `InsertEnter` events.
|
||||
--- It is also used by the `InsertCharPre`, `InsertEnter`,
|
||||
--- `CmdlineLeave` and `CmdlineLeavePre` events.
|
||||
--- @type string
|
||||
vim.v.char = ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user