fix(#2126): custom window pickers may create windows (#2140)

call nvim_list_wins again after the picker is run
This commit is contained in:
Anshuman Medhi
2023-04-16 13:58:10 +08:00
committed by GitHub
parent a8a4834e1a
commit 8f392fa763
2 changed files with 9 additions and 9 deletions

View File

@@ -1121,6 +1121,7 @@ Configuration for various actions.
Change the default window picker, can be a string `"default"` or a function.
The function should return the window id that will open the node,
or `nil` if an invalid window is picked or user cancelled the action.
The picker may create a new window.
Type: `string` | `function`, Default: `"default"`
e.g. s1n7ax/nvim-window-picker plugin: >
window_picker = {