aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/optionstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/optionstr.c')
-rw-r--r--src/nvim/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/optionstr.c b/src/nvim/optionstr.c
index be76688e92..80f879e9db 100644
--- a/src/nvim/optionstr.c
+++ b/src/nvim/optionstr.c
@@ -561,7 +561,7 @@ static int expand_set_opt_string(optexpand_T *args, char **values, size_t numVal
continue;
}
}
- if (vim_regexec(regmatch, *val, (colnr_T)0)) {
+ if (vim_regexec(regmatch, *val, 0)) {
(*matches)[count++] = xstrdup(*val);
}
}