vim-patch:8.0.0315: :help :[range] does not work

Problem:    ":help :[range]" does not work. (Tony Mechelynck)
Solution:   Translate to insert a backslash.

a76f59d817
This commit is contained in:
ckelsel
2017-12-21 18:40:40 +08:00
parent 6c731d33f6
commit eb95b88156
2 changed files with 5 additions and 3 deletions

View File

@@ -4619,7 +4619,8 @@ int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_la
"/\\(\\)", "/\\%(\\)", "/\\(\\)", "/\\%(\\)",
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?", "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
"/\\?", "/\\z(\\)", "\\=", ":s\\=", "/\\?", "/\\z(\\)", "\\=", ":s\\=",
"[count]", "[quotex]", "[range]", "[count]", "[quotex]",
"[range]", ":[range]",
"[pattern]", "\\|", "\\%$", "[pattern]", "\\|", "\\%$",
"s/\\~", "s/\\U", "s/\\L", "s/\\~", "s/\\U", "s/\\L",
"s/\\1", "s/\\2", "s/\\3", "s/\\9"}; "s/\\1", "s/\\2", "s/\\3", "s/\\9"};
@@ -4628,7 +4629,8 @@ int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_la
"/\\\\(\\\\)", "/\\\\%(\\\\)", "/\\\\(\\\\)", "/\\\\%(\\\\)",
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?", "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=", "/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
"\\[count]", "\\[quotex]", "\\[range]", "\\[count]", "\\[quotex]",
"\\[range]", ":\\[range]",
"\\[pattern]", "\\\\bar", "/\\\\%\\$", "\\[pattern]", "\\\\bar", "/\\\\%\\$",
"s/\\\\\\~", "s/\\\\U", "s/\\\\L", "s/\\\\\\~", "s/\\\\U", "s/\\\\L",
"s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"}; "s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"};

View File

@@ -941,7 +941,7 @@ static const int included_patches[] = {
// 318, // 318,
// 317, // 317,
// 316, // 316,
// 315, 315,
314, 314,
// 313, // 313,
// 312, // 312,