mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
vim-patch:7.4.1557 (#5117)
Problem: Windows cannot be identified.
Solution: Add a unique window number to each window and functions to use it.
86edef664e
This commit is contained in:

committed by
Justin M. Keyes

parent
08d11bd42f
commit
0d93cd6c46
@@ -937,8 +937,9 @@ struct matchitem {
|
||||
*/
|
||||
struct window_S {
|
||||
uint64_t handle;
|
||||
buf_T *w_buffer; /* buffer we are a window into (used
|
||||
often, keep it the first item!) */
|
||||
int w_id; ///< unique window ID
|
||||
buf_T *w_buffer; ///< buffer we are a window into (used
|
||||
///< often, keep it the first item!)
|
||||
|
||||
synblock_T *w_s; /* for :ownsyntax */
|
||||
|
||||
|
Reference in New Issue
Block a user