mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +00:00
options: allow different highlights in windows
This commit is contained in:
@@ -233,6 +233,8 @@ typedef struct {
|
||||
# define w_p_crb_save w_onebuf_opt.wo_crb_save
|
||||
char_u *wo_scl;
|
||||
# define w_p_scl w_onebuf_opt.wo_scl // 'signcolumn'
|
||||
char_u *wo_winhl;
|
||||
# define w_p_winhl w_onebuf_opt.wo_winhl // 'winhighlight'
|
||||
|
||||
int wo_scriptID[WV_COUNT]; /* SIDs for window-local options */
|
||||
# define w_p_scriptID w_onebuf_opt.wo_scriptID
|
||||
@@ -930,6 +932,10 @@ struct window_S {
|
||||
|
||||
synblock_T *w_s; /* for :ownsyntax */
|
||||
|
||||
int w_hl_id; ///< 'winhighlight' id
|
||||
int w_hl_id_inactive; ///< 'winhighlight' id for inactive window
|
||||
int w_hl_attr; ///< 'winhighlight' final attrs
|
||||
|
||||
win_T *w_prev; /* link to previous window */
|
||||
win_T *w_next; /* link to next window */
|
||||
bool w_closing; /* window is being closed, don't let
|
||||
|
Reference in New Issue
Block a user