mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
perf(column): only invalidate lines affected by added sign
This commit is contained in:

committed by
Lewis Russell

parent
584c6c25cc
commit
f4001d27ef
@@ -706,9 +706,10 @@ struct file_buffer {
|
||||
|
||||
struct {
|
||||
int size; // last calculated number of sign columns
|
||||
bool valid; // calculated sign columns is valid
|
||||
int max; // maximum value size is valid for.
|
||||
linenr_T sentinel; // a line number which is holding up the signcolumn
|
||||
int max; // Maximum value size is valid for.
|
||||
linenr_T invalid_top; // first invalid line number that needs to be checked
|
||||
linenr_T invalid_bot; // last invalid line number that needs to be checked
|
||||
} b_signcols;
|
||||
|
||||
Terminal *terminal; // Terminal instance associated with the buffer
|
||||
|
Reference in New Issue
Block a user