diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-04-26 18:17:29 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-05-08 12:41:39 +0200 |
commit | bfcaf364042b0bcc0f995faa560ea488d068d276 (patch) | |
tree | d1d430297eb82d53cc2c42edfe4f5db20b1d434d /src/nvim/buffer_defs.h | |
parent | 443399c27d63fea7b837af700a6f3142e96adb22 (diff) | |
download | rneovim-bfcaf364042b0bcc0f995faa560ea488d068d276.tar.gz rneovim-bfcaf364042b0bcc0f995faa560ea488d068d276.tar.bz2 rneovim-bfcaf364042b0bcc0f995faa560ea488d068d276.zip |
options: allow different highlights in windows
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 20a2b931bd..88fa9726a4 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -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 |