0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0067: cannot show virtual text

Problem:    Cannot show virtual text.
Solution:   Initial changes for virtual text support, using text properties.
This commit is contained in:
Bram Moolenaar
2022-07-25 18:13:54 +01:00
parent b529cfbd04
commit 7f9969c559
25 changed files with 658 additions and 261 deletions

View File

@@ -6775,7 +6775,9 @@ nfa_regmatch(
}
if (!result)
result = nfa_re_num_cmp(t->state->val, op,
(long_u)win_linetabsize(wp, rex.line, col) + 1);
(long_u)win_linetabsize(wp,
rex.reg_firstlnum + rex.lnum,
rex.line, col) + 1);
if (result)
{
add_here = TRUE;