mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 05:46:12 +00:00
fix(ui): exclude unfocusable windows from 'complete' "w" completion
Problem: As inf85bc41
, assume unfocusable windows to be UI windows whose buffer content is unexpectedly included in 'complete' "w" completion. Solution: Exclude unfocusable windows when looping over windows. (cherry picked from commitd01b2611a6
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
66953b16a2
commit
9909580df2
@@ -69,8 +69,9 @@ If a window is focusable, it is part of the "navigation stack", that is,
|
||||
editor commands such as :windo, |CTRL-W|, etc., will consider the window as
|
||||
one that can be made the "current window". A non-focusable window will be
|
||||
skipped by such commands (though it can be explicitly focused by
|
||||
|nvim_set_current_win()|). Non-focusable windows are not listed by |:tabs|, and
|
||||
are not counted by the default 'tabline'.
|
||||
|nvim_set_current_win()|). Non-focusable windows are not listed by |:tabs|,
|
||||
or counted by the default 'tabline'. Their buffer content is not included
|
||||
in 'complete' "w" completion.
|
||||
|
||||
Windows (especially floating windows) can have many other |api-win_config|
|
||||
properties such as "hide" and "fixed" which also affect behavior.
|
||||
|
Reference in New Issue
Block a user