Skip to content

Commit 40f96a4

Browse files
committed
updated for version 7.4.170
Problem: Some help tags don't work with ":help". (Tim Chase) Solution: Add exceptions.
1 parent ce1085a commit 40f96a4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/ex_cmds.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5936,14 +5936,18 @@ find_help_tags(arg, num_matches, matches, keep_lang)
59365936
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
59375937
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
59385938
"[count]", "[quotex]", "[range]",
5939-
"[pattern]", "\\|", "\\%$"};
5939+
"[pattern]", "\\|", "\\%$",
5940+
"s/\\~", "s/\\U", "s/\\L",
5941+
"s/\\1", "s/\\2", "s/\\3", "s/\\9"};
59405942
static char *(rtable[]) = {"star", "gstar", "[star", "]star", ":star",
59415943
"/star", "/\\\\star", "quotestar", "starstar",
59425944
"cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)",
59435945
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
59445946
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
59455947
"\\[count]", "\\[quotex]", "\\[range]",
5946-
"\\[pattern]", "\\\\bar", "/\\\\%\\$"};
5948+
"\\[pattern]", "\\\\bar", "/\\\\%\\$",
5949+
"s/\\\\\\~", "s/\\\\U", "s/\\\\L",
5950+
"s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"};
59475951
int flags;
59485952

59495953
d = IObuff; /* assume IObuff is long enough! */
@@ -5982,7 +5986,7 @@ find_help_tags(arg, num_matches, matches, keep_lang)
59825986
/* Replace:
59835987
* "[:...:]" with "\[:...:]"
59845988
* "[++...]" with "\[++...]"
5985-
* "\{" with "\\{"
5989+
* "\{" with "\\{" -- matching "} \}"
59865990
*/
59875991
if ((arg[0] == '[' && (arg[1] == ':'
59885992
|| (arg[1] == '+' && arg[2] == '+')))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
170,
741743
/**/
742744
169,
743745
/**/

0 commit comments

Comments
 (0)