Add user autocmd TelescopeFindPre (#491)

* Add user autocmd Telescope

* change name to TelescopeFindPre

* update Readme for Telescope user autocmds
This commit is contained in:
Raphael
2021-02-03 12:23:28 +08:00
committed by GitHub
parent feacafacbc
commit 779704bf26
2 changed files with 12 additions and 0 deletions

View File

@@ -326,6 +326,9 @@ function Picker:find()
self.original_win_id = a.nvim_get_current_win()
-- User autocmd run it before create Telescope window
vim.cmd'do User TelescopeFindPre'
-- Create three windows:
-- 1. Prompt window
-- 2. Options window