aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-30 09:03:57 +0800
committerGitHub <noreply@github.com>2022-03-30 09:03:57 +0800
commit75ff156d9b11f23f6156cd6b90fb7bad0a83fd18 (patch)
tree83c17c86a4bff3b4a703f274202eb59a8b9e3c4d /src/nvim/regexp.c
parente5428d10b5a49e9395190482ff35bbac0c1117ea (diff)
parent465f8ff8cbd3f9b73c1de8823505ee6a804b2bf1 (diff)
downloadrneovim-75ff156d9b11f23f6156cd6b90fb7bad0a83fd18.tar.gz
rneovim-75ff156d9b11f23f6156cd6b90fb7bad0a83fd18.tar.bz2
rneovim-75ff156d9b11f23f6156cd6b90fb7bad0a83fd18.zip
Merge pull request #17773 from zeertzjq/vim-8.2.3110
vim-patch:8.2.{3110,4592}: a pattern that matches the cursor position is complicated
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r--src/nvim/regexp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c
index 009a26d4e0..d3c43e530a 100644
--- a/src/nvim/regexp.c
+++ b/src/nvim/regexp.c
@@ -107,8 +107,10 @@ static char_u e_unmatchedpar[] = N_("E55: Unmatched %s)");
static char_u e_z_not_allowed[] = N_("E66: \\z( not allowed here");
static char_u e_z1_not_allowed[] = N_("E67: \\z1 - \\z9 not allowed here");
static char_u e_missing_sb[] = N_("E69: Missing ] after %s%%[");
-static char_u e_empty_sb[] = N_("E70: Empty %s%%[]");
-static char_u e_recursive[] = N_("E956: Cannot use pattern recursively");
+static char_u e_empty_sb[] = N_("E70: Empty %s%%[]");
+static char_u e_recursive[] = N_("E956: Cannot use pattern recursively");
+static char_u e_regexp_number_after_dot_pos_search[]
+ = N_("E1204: No Number allowed after .: '\\%%%c'");
#define NOT_MULTI 0
#define MULTI_ONE 1