mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-09 23:58:12 +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
@@ -344,7 +344,7 @@ function Picker:find()
|
||||
self.original_win_id = a.nvim_get_current_win()
|
||||
|
||||
-- User autocmd run it before create Telescope window
|
||||
vim.api.nvim_exec_autocmds("User TelescopeFindPre", {})
|
||||
vim.api.nvim_exec_autocmds("User", { pattern = "TelescopeFindPre" })
|
||||
|
||||
-- Create three windows:
|
||||
-- 1. Prompt window
|
||||
|
||||
Reference in New Issue
Block a user