diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-20 10:18:40 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-09-20 10:24:07 +0200 |
commit | ee20e9e66942ce38c8d4a8f4387ac1ec00d1d64f (patch) | |
tree | dab6e43124174d74344509ec9009ae8aaa53ad00 /src/nvim/drawline.c | |
parent | acde86d43690cf6451793250ae7ada4254bc2be3 (diff) | |
download | rneovim-ee20e9e66942ce38c8d4a8f4387ac1ec00d1d64f.tar.gz rneovim-ee20e9e66942ce38c8d4a8f4387ac1ec00d1d64f.tar.bz2 rneovim-ee20e9e66942ce38c8d4a8f4387ac1ec00d1d64f.zip |
refactor(grid): unused grid->line_wraps delenda est
This is not used as part of the logic to actually implement TUI line wrapping
In vim (especially gvim) it is used to emulate terminal-style text
selection. But in nvim we don't do that, and have no plans to reintroduce it.
Diffstat (limited to 'src/nvim/drawline.c')
-rw-r--r-- | src/nvim/drawline.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c index 8b4786a98e..5fda200a43 100644 --- a/src/nvim/drawline.c +++ b/src/nvim/drawline.c @@ -3172,9 +3172,6 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool number_onl // Force a redraw of the first column of the next line. current_grid->attrs[current_grid->line_offset[current_row + 1]] = -1; - - // Remember that the line wraps, used for modeless copy. - current_grid->line_wraps[current_row] = true; } wlv.boguscols = 0; |