diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-07-07 21:35:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 21:35:55 +0200 |
commit | 524fe6205d01d8ced45bc4b00ed397add01a41bf (patch) | |
tree | 8fd4cb84d1149da6f636b5bd5bbb114df86b982b /src/nvim/screen.c | |
parent | 28a86608a84672b3b64981c3b47b80b051cb5177 (diff) | |
parent | ef3e32d57ee0ebe3f425998216d8bf61ffdc28bb (diff) | |
download | rneovim-524fe6205d01d8ced45bc4b00ed397add01a41bf.tar.gz rneovim-524fe6205d01d8ced45bc4b00ed397add01a41bf.tar.bz2 rneovim-524fe6205d01d8ced45bc4b00ed397add01a41bf.zip |
Merge pull request #10090 from bfredl/floatpopup
api/window: add style="minimal" flag to disable unwanted UI features for simple floats
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 846ffeb442..a007aa9a47 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -1612,7 +1612,8 @@ static void win_draw_end(win_T *wp, int c1, int c2, bool draw_margin, int row, } } - int attr = hl_combine_attr(wp->w_hl_attr_normal, win_hl_attr(wp, hl)); + int attr = hl_combine_attr(wp->w_hl_attr_normal, + hl ? win_hl_attr(wp, hl) : 0); if (wp->w_p_rl) { grid_fill(&wp->w_grid, row, endrow, wp->w_wincol, W_ENDCOL(wp) - 1 - n, |