mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0231: :help -? goes to help for -+
Problem: :help -? goes to help for -+. Solution: Add -? to list of special cases. (Hirohito Higashi)
This commit is contained in:
@@ -6583,7 +6583,7 @@ find_help_tags(
|
|||||||
static char *(mtable[]) = {"*", "g*", "[*", "]*", ":*",
|
static char *(mtable[]) = {"*", "g*", "[*", "]*", ":*",
|
||||||
"/*", "/\\*", "\"*", "**",
|
"/*", "/\\*", "\"*", "**",
|
||||||
"cpo-*", "/\\(\\)", "/\\%(\\)",
|
"cpo-*", "/\\(\\)", "/\\%(\\)",
|
||||||
"?", ":?", "?<CR>", "g?", "g?g?", "g??",
|
"?", ":?", "-?", "?<CR>", "g?", "g?g?", "g??",
|
||||||
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
|
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
|
||||||
"[count]", "[quotex]",
|
"[count]", "[quotex]",
|
||||||
"[range]", ":[range]",
|
"[range]", ":[range]",
|
||||||
@@ -6593,7 +6593,7 @@ find_help_tags(
|
|||||||
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??",
|
"?", ":?", "-?", "?<CR>", "g?", "g?g?", "g??",
|
||||||
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
||||||
"\\[count]", "\\[quotex]",
|
"\\[count]", "\\[quotex]",
|
||||||
"\\[range]", ":\\[range]",
|
"\\[range]", ":\\[range]",
|
||||||
|
@@ -26,6 +26,11 @@ func Test_help_tagjump()
|
|||||||
call assert_true(getline('.') =~ '\*:?\*')
|
call assert_true(getline('.') =~ '\*:?\*')
|
||||||
helpclose
|
helpclose
|
||||||
|
|
||||||
|
help -?
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*-?\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
help FileW*Post
|
help FileW*Post
|
||||||
call assert_equal("help", &filetype)
|
call assert_equal("help", &filetype)
|
||||||
call assert_true(getline('.') =~ '\*FileWritePost\*')
|
call assert_true(getline('.') =~ '\*FileWritePost\*')
|
||||||
|
@@ -794,6 +794,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 */
|
||||||
|
/**/
|
||||||
|
231,
|
||||||
/**/
|
/**/
|
||||||
230,
|
230,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user