diff options
author | Chinmay Dalal <dalal.chinmay.0101@gmail.com> | 2023-06-23 17:19:54 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 04:49:54 -0700 |
commit | 94a904b453e5fe5b2cb098828c093e34246d4125 (patch) | |
tree | 1962711644023d8968ecb8eafad1f7429aebf752 /runtime/lua/vim/secure.lua | |
parent | 3688735c2b63337ab8d8b12ac08b4e6e064e98a2 (diff) | |
download | rneovim-94a904b453e5fe5b2cb098828c093e34246d4125.tar.gz rneovim-94a904b453e5fe5b2cb098828c093e34246d4125.tar.bz2 rneovim-94a904b453e5fe5b2cb098828c093e34246d4125.zip |
fix(lsp): reapplying already-applied hints #24114
Problem:
The decoration provider clears the whole buffer then redraws all the hints every
time the window was redrawn. This may lead to an infinite loop.
Solution:
Store the last applied version for a line and only clear and redraw the line if
the buffer version has changed.
Diffstat (limited to 'runtime/lua/vim/secure.lua')
0 files changed, 0 insertions, 0 deletions