aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui_compositor.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-09-01 18:36:29 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2019-09-01 18:53:55 +0200
commit14615f7f67664cd63410999c2cd13ee50ed14571 (patch)
treeb6bb0012f3d74e17f4d80036d57227b724252fca /src/nvim/ui_compositor.c
parente04b9e7c78bdcf40cce5b5533ce8d7695691dfd6 (diff)
downloadrneovim-14615f7f67664cd63410999c2cd13ee50ed14571.tar.gz
rneovim-14615f7f67664cd63410999c2cd13ee50ed14571.tar.bz2
rneovim-14615f7f67664cd63410999c2cd13ee50ed14571.zip
screen: add some documentation of internals of msg_grid implementation
Diffstat (limited to 'src/nvim/ui_compositor.c')
-rw-r--r--src/nvim/ui_compositor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ui_compositor.c b/src/nvim/ui_compositor.c
index 163eadbc95..f91442642d 100644
--- a/src/nvim/ui_compositor.c
+++ b/src/nvim/ui_compositor.c
@@ -353,6 +353,8 @@ static void compose_line(Integer row, Integer startcol, Integer endcol,
size_t n = (size_t)(until-col);
if (row == msg_sep_row && grid->comp_index <= msg_grid.comp_index) {
+ // TODO(bfredl): when we implement borders around floating windows, then
+ // msgsep can just be a border "around" the message grid.
grid = &msg_grid;
sattr_T msg_sep_attr = (sattr_T)HL_ATTR(HLF_MSGSEP);
for (int i = col; i < until; i++) {