aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp_bt.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 12:48:51 +0200
committerGitHub <noreply@github.com>2022-08-29 12:48:51 +0200
commitf05cc672e3b617b4480d8e2d7efc7e00863efc3d (patch)
treef5635d5e6a2a3fc1716a5d50881bcff3ddde1c20 /src/nvim/regexp_bt.c
parent253f0ffd8d4784b7fca03f8f6c2455b9ee83ff9b (diff)
parentea4e9c71ccaf406fe7aa6b47d461cdab2d6c01e9 (diff)
downloadrneovim-f05cc672e3b617b4480d8e2d7efc7e00863efc3d.tar.gz
rneovim-f05cc672e3b617b4480d8e2d7efc7e00863efc3d.tar.bz2
rneovim-f05cc672e3b617b4480d8e2d7efc7e00863efc3d.zip
Merge pull request #19975 from bfredl/chartabsize
refactor(plines): use a struct for chartabsize state
Diffstat (limited to 'src/nvim/regexp_bt.c')
-rw-r--r--src/nvim/regexp_bt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/regexp_bt.c b/src/nvim/regexp_bt.c
index d7a4f40ecf..88f0d781af 100644
--- a/src/nvim/regexp_bt.c
+++ b/src/nvim/regexp_bt.c
@@ -3764,6 +3764,7 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out)
case RE_VCOL:
if (!re_num_cmp(win_linetabsize(rex.reg_win == NULL
? curwin : rex.reg_win,
+ rex.reg_firstlnum + rex.lnum,
rex.line,
(colnr_T)(rex.input - rex.line)) + 1,
scan)) {