fix(decor): allow adding providers during redraw

Fixes: #26652
This commit is contained in:
Lewis Russell
2023-12-19 13:55:02 +00:00
committed by Lewis Russell
parent 031088fc0a
commit 2b0acacb3c
6 changed files with 83 additions and 93 deletions

View File

@@ -1050,7 +1050,7 @@ void nvim_set_decoration_provider(Integer ns_id, Dict(set_decoration_provider) *
*v = LUA_NOREF;
}
p->active = true;
p->state = kDecorProviderActive;
p->hl_valid++;
p->hl_cached = false;
}