aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawscreen.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-16 13:56:05 +0100
committerbfredl <bjorn.linse@gmail.com>2023-03-16 13:56:05 +0100
commit8021300806e2ccf04b3ec33970b682ee3c7a9cc3 (patch)
treecd4b6ed77b3f0cfc8ba57466d7a871920116f1d4 /src/nvim/drawscreen.c
parent320cb344c14b30f8c1aa8c2d86803e4c2f971ae9 (diff)
downloadrneovim-8021300806e2ccf04b3ec33970b682ee3c7a9cc3.tar.gz
rneovim-8021300806e2ccf04b3ec33970b682ee3c7a9cc3.tar.bz2
rneovim-8021300806e2ccf04b3ec33970b682ee3c7a9cc3.zip
refactor(extmarks): some minor internal API changes
extranges and a bunch of other improvements are coming for 0.10 This gets in some minor surrounding API changes to avoid rebase conflicts until then. - decorations will be able to be specific to windows - adjust deletion API to fit with extranges
Diffstat (limited to 'src/nvim/drawscreen.c')
-rw-r--r--src/nvim/drawscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/drawscreen.c b/src/nvim/drawscreen.c
index f456947f5a..499f4a39e3 100644
--- a/src/nvim/drawscreen.c
+++ b/src/nvim/drawscreen.c
@@ -1427,7 +1427,7 @@ static void win_update(win_T *wp, DecorProviders *providers)
win_extmark_arr.size = 0;
- decor_redraw_reset(buf, &decor_state);
+ decor_redraw_reset(wp, &decor_state);
DecorProviders line_providers;
decor_providers_invoke_win(wp, providers, &line_providers, &provider_err);