aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-06 00:52:35 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-06 00:55:30 -0400
commit296711cfad7bb8d80f2e2c363b3708764156444f (patch)
tree57623fc268dbf5d2a919f04aa3d66c78bff78cb4 /src/nvim/regexp.c
parentdad17caa874ecab338c9bf9691850f27a20c65ab (diff)
downloadrneovim-296711cfad7bb8d80f2e2c363b3708764156444f.tar.gz
rneovim-296711cfad7bb8d80f2e2c363b3708764156444f.tar.bz2
rneovim-296711cfad7bb8d80f2e2c363b3708764156444f.zip
vim-patch:8.2.2829: some comments are not correct or clear
Problem: Some comments are not correct or clear. Solution: Adjust the comments. Add test for cursor position. https://github.com/vim/vim/commit/df36514a6455342e178af693553ef9df9fcf8c83
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 184f5da97d..e0cc25421a 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -3436,7 +3436,7 @@ static long bt_regexec_multi(regmmatch_T *rmp, win_T *win, buf_T *buf,
}
/// Match a regexp against a string ("line" points to the string) or multiple
-/// lines ("line" is NULL, use reg_getline()).
+/// lines (if "line" is NULL, use reg_getline()).
/// @return 0 for failure, or number of lines contained in the match.
static long bt_regexec_both(char_u *line,
colnr_T col, // column to start search