diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-25 18:13:54 +0100 |
commit | 7f9969c559b51446632ac7e8f76cde07e7d0078d (patch) | |
tree | 77868549433487dbadb8833a1b6a63d522adaa72 /src/regexp_bt.c | |
parent | b529cfbd04c02e31cfa88f2c8d88b5ff532d4f7d (diff) |
patch 9.0.0067: cannot show virtual textv9.0.0067
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
Diffstat (limited to 'src/regexp_bt.c')
-rw-r--r-- | src/regexp_bt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regexp_bt.c b/src/regexp_bt.c index f8def10fe3..e7cb1f2ba3 100644 --- a/src/regexp_bt.c +++ b/src/regexp_bt.c @@ -3441,7 +3441,9 @@ regmatch( case RE_VCOL: if (!re_num_cmp((long_u)win_linetabsize( rex.reg_win == NULL ? curwin : rex.reg_win, - rex.line, (colnr_T)(rex.input - rex.line)) + 1, scan)) + rex.reg_firstlnum + rex.lnum, + rex.line, + (colnr_T)(rex.input - rex.line)) + 1, scan)) status = RA_NOMATCH; break; |