aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-27 10:34:40 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-04 21:16:34 -0400
commit24b16ed35e402e6389ca00753343ac93c0949a02 (patch)
tree23fe63c876723d7bb5c39a91b81813afeaef7918 /src/nvim/ex_cmds.c
parent5c90bbae2aad0c3129ed8efa0f1b03980f7f28a3 (diff)
downloadrneovim-24b16ed35e402e6389ca00753343ac93c0949a02.tar.gz
rneovim-24b16ed35e402e6389ca00753343ac93c0949a02.tar.bz2
rneovim-24b16ed35e402e6389ca00753343ac93c0949a02.zip
vim-patch:8.1.0231: :help -? goes to help for -+
Problem: :help -? goes to help for -+. Solution: Add -? to list of special cases. (Hirohito Higashi) https://github.com/vim/vim/commit/a5bc38b8c16be93bac900137a5837585006cc8a4
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 78f422f211..8971c0c16c 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4688,7 +4688,7 @@ int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_la
static char *(mtable[]) = {"*", "g*", "[*", "]*",
"/*", "/\\*", "\"*", "**",
"/\\(\\)", "/\\%(\\)",
- "?", ":?", "?<CR>", "g?", "g?g?", "g??",
+ "?", ":?", "-?", "?<CR>", "g?", "g?g?", "g??",
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
"[count]", "[quotex]",
"[range]", ":[range]",
@@ -4698,7 +4698,7 @@ int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_la
static char *(rtable[]) = {"star", "gstar", "[star", "]star",
"/star", "/\\\\star", "quotestar", "starstar",
"/\\\\(\\\\)", "/\\\\%(\\\\)",
- "?", ":?", "?<CR>", "g?", "g?g?", "g??",
+ "?", ":?", "-?", "?<CR>", "g?", "g?g?", "g??",
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
"\\[count]", "\\[quotex]",
"\\[range]", ":\\[range]",