aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-05 12:00:26 +0800
committerGitHub <noreply@github.com>2022-11-05 12:00:26 +0800
commit50048051565f84b8b75a50f4cfdc5147f861e42b (patch)
treeedf413e2f839c19f48dcd93be5c76afa0cf597e3 /src/nvim/syntax.c
parent81722896e4a6d17dbf33325d344253e44a11e9ed (diff)
parent199c7c28989a3c36447ef56b71c7b84756950a11 (diff)
downloadrneovim-50048051565f84b8b75a50f4cfdc5147f861e42b.tar.gz
rneovim-50048051565f84b8b75a50f4cfdc5147f861e42b.tar.bz2
rneovim-50048051565f84b8b75a50f4cfdc5147f861e42b.zip
Merge pull request #20939 from zeertzjq/vim-8.2.0502
vim-patch:8.2.{0502,0612}
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index e5962cd273..fb82df4fe9 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -4749,7 +4749,7 @@ static char *get_syn_pattern(char *arg, synpat_T *ci)
return NULL;
}
- end = skip_regexp(arg + 1, *arg, true, NULL);
+ end = skip_regexp(arg + 1, *arg, true);
if (*end != *arg) { // end delimiter not found
semsg(_("E401: Pattern delimiter not found: %s"), arg);
return NULL;
@@ -4902,7 +4902,7 @@ static void syn_cmd_sync(exarg_T *eap, int syncing)
finished = true;
break;
}
- arg_end = skip_regexp(next_arg + 1, *next_arg, true, NULL);
+ arg_end = skip_regexp(next_arg + 1, *next_arg, true);
if (*arg_end != *next_arg) { // end delimiter not found
illegal = true;
break;