diff options
author | luukvbaal <31730729+luukvbaal@users.noreply.github.com> | 2023-01-20 00:47:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-20 07:47:02 +0800 |
commit | 999bb983f0f44b16126b79ba105f079ac1df21ff (patch) | |
tree | ca1887947642836796f07d1f6f662098d49dd042 /runtime/lua/vim/lsp/buf.lua | |
parent | 775e2922908ceae221b35d3edc5e28e89f6b9647 (diff) | |
download | rneovim-999bb983f0f44b16126b79ba105f079ac1df21ff.tar.gz rneovim-999bb983f0f44b16126b79ba105f079ac1df21ff.tar.bz2 rneovim-999bb983f0f44b16126b79ba105f079ac1df21ff.zip |
perf(statuscolumn): only fill click defs array once per redraw (#21884)
Problem: 'statuscolumn' click definitions are cleared, evaluated,
allocated and filled each redraw for every row in a window.
This despite the fact that we only store a single click
definition array for the entire column as opposed to one
for each row.
Solution: Only fill the 'statuscolumn' click definition array once per
window per redraw.
Resolve https://github.com/neovim/neovim/issues/21767.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions