diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-03-17 21:52:45 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-17 21:52:45 +0100 | 
| commit | 063b69bab4ab64b614e31ab0c93279fdbebb40b7 (patch) | |
| tree | ede33c995366832fe3a7dab1c3d2b8a298c5b638 /test/functional/legacy/function_sort_spec.lua | |
| parent | 5440e59247b690e990244be793b1ffd1cb5b8e80 (diff) | |
| download | rneovim-063b69bab4ab64b614e31ab0c93279fdbebb40b7.tar.gz rneovim-063b69bab4ab64b614e31ab0c93279fdbebb40b7.tar.bz2 rneovim-063b69bab4ab64b614e31ab0c93279fdbebb40b7.zip | |
fix(column): unnecessary redraws with resized 'statuscolumn' (#32944)
Problem:  Since 3cb1e825, all windows with 'statuscolumn' set, and a
          resized 'signcolumn' for a particular buffer are marked
          to be fully redrawn when the first window is encountered.
          The "resized" variable is only unset after all windows have
          been drawn, so this results in windows that have just been
          draw to be marked for redraw again, even though the
          signcolumn did not change size again.
Solution: Replace the `resized` variable with a `last_max` variable that
          is changed when the first window into buf is encountered.
Diffstat (limited to 'test/functional/legacy/function_sort_spec.lua')
0 files changed, 0 insertions, 0 deletions
