mirror of
https://github.com/vim/vim.git
synced 2025-09-10 22:33:40 -04:00
updated for version 7.4.170
Problem: Some help tags don't work with ":help". (Tim Chase) Solution: Add exceptions.
This commit is contained in:
parent
10395d8d6c
commit
c467d9b274
@ -5936,14 +5936,18 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
|||||||
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
|
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
|
||||||
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
|
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
|
||||||
"[count]", "[quotex]", "[range]",
|
"[count]", "[quotex]", "[range]",
|
||||||
"[pattern]", "\\|", "\\%$"};
|
"[pattern]", "\\|", "\\%$",
|
||||||
|
"s/\\~", "s/\\U", "s/\\L",
|
||||||
|
"s/\\1", "s/\\2", "s/\\3", "s/\\9"};
|
||||||
static char *(rtable[]) = {"star", "gstar", "[star", "]star", ":star",
|
static char *(rtable[]) = {"star", "gstar", "[star", "]star", ":star",
|
||||||
"/star", "/\\\\star", "quotestar", "starstar",
|
"/star", "/\\\\star", "quotestar", "starstar",
|
||||||
"cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)",
|
"cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)",
|
||||||
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
|
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
|
||||||
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
||||||
"\\[count]", "\\[quotex]", "\\[range]",
|
"\\[count]", "\\[quotex]", "\\[range]",
|
||||||
"\\[pattern]", "\\\\bar", "/\\\\%\\$"};
|
"\\[pattern]", "\\\\bar", "/\\\\%\\$",
|
||||||
|
"s/\\\\\\~", "s/\\\\U", "s/\\\\L",
|
||||||
|
"s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"};
|
||||||
int flags;
|
int flags;
|
||||||
|
|
||||||
d = IObuff; /* assume IObuff is long enough! */
|
d = IObuff; /* assume IObuff is long enough! */
|
||||||
@ -5982,7 +5986,7 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
|||||||
/* Replace:
|
/* Replace:
|
||||||
* "[:...:]" with "\[:...:]"
|
* "[:...:]" with "\[:...:]"
|
||||||
* "[++...]" with "\[++...]"
|
* "[++...]" with "\[++...]"
|
||||||
* "\{" with "\\{"
|
* "\{" with "\\{" -- matching "} \}"
|
||||||
*/
|
*/
|
||||||
if ((arg[0] == '[' && (arg[1] == ':'
|
if ((arg[0] == '[' && (arg[1] == ':'
|
||||||
|| (arg[1] == '+' && arg[2] == '+')))
|
|| (arg[1] == '+' && arg[2] == '+')))
|
||||||
|
@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
170,
|
||||||
/**/
|
/**/
|
||||||
169,
|
169,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user