aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2024-11-18 15:35:21 +0100
committerGitHub <noreply@github.com>2024-11-18 06:35:21 -0800
commit40347f6e27f1594797ecb0b268076a94630e4c1b (patch)
treef354b7ffef8aa1dc1d21efb67dff250bda73c92c /runtime/lua/vim/provider.lua
parent1763eddede82697a081d8741bd7e780c1b729de0 (diff)
downloadrneovim-40347f6e27f1594797ecb0b268076a94630e4c1b.tar.gz
rneovim-40347f6e27f1594797ecb0b268076a94630e4c1b.tar.bz2
rneovim-40347f6e27f1594797ecb0b268076a94630e4c1b.zip
fix(api): only flush nvim__redraw when necessary #31250
Problem: Not possible to only set a "redraw later" type with nvim__redraw, which seems to be desired for the treesitter highlighter. Solution: Do not update the screen when "flush" is explicitly set to false and only redraw later types are present. In that case, do not call ui_flush() either.
Diffstat (limited to 'runtime/lua/vim/provider.lua')
0 files changed, 0 insertions, 0 deletions