mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-10 08:08:15 +00:00
fix: execute autocmds correctly (#2375)
(cherry picked from commit e572c63c7d)
This commit is contained in:
committed by
Simon Hauser
parent
77c216d799
commit
0b4e54e86b
@@ -348,7 +348,7 @@ mappings.execute_keymap = function(prompt_bufnr, keymap_identifier)
|
||||
assert(key_func, string.format("Unsure of how we got this failure: %s %s", prompt_bufnr, keymap_identifier))
|
||||
|
||||
key_func(prompt_bufnr)
|
||||
vim.api.nvim_exec_autocmds("User TelescopeKeymap", {})
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "TelescopeKeymap" })
|
||||
end
|
||||
|
||||
mappings.clear = function(prompt_bufnr)
|
||||
|
||||
Reference in New Issue
Block a user