aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index a7efe5f533..e1198d6f1c 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -4851,10 +4851,10 @@ void ExpandGeneric(
count = 0;
for (i = 0;; i++) {
str = (*func)(xp, i);
- if (str == NULL) { // end of list
+ if (str == NULL) { // End of list.
break;
}
- if (*str == NUL) { // skip empty strings
+ if (*str == NUL) { // Skip empty strings.
continue;
}
if (vim_regexec(regmatch, str, (colnr_T)0)) {