mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-06 22:28:32 +00:00
* Add autocmd to make `which_key` window close on prompt exit Currently `actions.which_key` supports a `close_with_action` option (default true). When this is set, the `which_key` window will close after any Telescope action is triggered. This makes sense. However, when it is false, the `which_key` window remains open even after Telescope closes. This seems like a bug. This PR fixes this by setting an autocommand when `close_with_action` is false to close on prompt exit. * [docgen] Update doc/telescope.txt skip-checks: true * Add autocmd to make `which_key` window close on prompt exit Currently `actions.which_key` supports a `close_with_action` option (default true). When this is set, the `which_key` window will close after any Telescope action is triggered. This makes sense. However, when it is false, the `which_key` window remains open even after Telescope closes. This seems like a bug. This PR fixes this by setting an autocommand when `close_with_action` is false to close on prompt exit. --------- Co-authored-by: Github Actions <actions@github>