feat: lua autocmd (#1707)

This commit is contained in:
Dave Lage
2022-04-22 10:20:59 -04:00
committed by GitHub
parent cc1a3440f9
commit 697ee7aa70
4 changed files with 47 additions and 40 deletions

View File

@@ -240,7 +240,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.cmd [[ doautocmd User TelescopeKeymap ]]
vim.api.nvim_exec_autocmds("User TelescopeKeymap", {})
end
mappings.clear = function(prompt_bufnr)