mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
fix(extmarks): problems with folded virtual lines (#21930)
Problem: When a folded line has virtual lines attached, the following problems occur: - The virtual lines are drawn empty. - The 'foldtext' line is drawn empty. - The cursor is drawn incorrectly. Solution: Check whether virtual lines belong to a folded line. Fix #17027 Fix #19557 Fix #21837 Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@@ -20,8 +20,6 @@ typedef struct foldinfo {
|
||||
linenr_T fi_lines;
|
||||
} foldinfo_T;
|
||||
|
||||
#define FOLDINFO_INIT { 0, 0, 0, 0 }
|
||||
|
||||
EXTERN int disable_fold_update INIT(= 0);
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user