diff options
| author | Raphael <glepnir@gopherhub.org> | 2021-02-03 12:23:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-02 23:23:28 -0500 |
| commit | 779704bf266c38f71e080599798cc4437393ce50 (patch) | |
| tree | 851376545678a25cb05c03c9bd46a6852cc50a3c /lua | |
| parent | feacafacbcd7fe2ae6538d1839c1257e54762519 (diff) | |
Add user autocmd TelescopeFindPre (#491)
* Add user autocmd Telescope
* change name to TelescopeFindPre
* update Readme for Telescope user autocmds
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index 403371f..2a42f3c 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -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 |
