diff options
author | oni-link <knil.ino@gmail.com> | 2014-04-03 20:24:51 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-04 19:08:21 -0300 |
commit | 04cdcfa6047feaa735dd38b722bdceb3bb7de373 (patch) | |
tree | 724f0bf87008eaea99109d7425171308e3cebbb8 /src | |
parent | 0f9ca8d7facc05cff2f8aed7f886ae31016d086a (diff) | |
download | rneovim-04cdcfa6047feaa735dd38b722bdceb3bb7de373.tar.gz rneovim-04cdcfa6047feaa735dd38b722bdceb3bb7de373.tar.bz2 rneovim-04cdcfa6047feaa735dd38b722bdceb3bb7de373.zip |
vim-patch:7.4.170
Problem: Some help tags don't work with ":help". (Tim Chase)
Solution: Add exceptions.
https://code.google.com/p/vim/source/detail?r=8122eab8fcdbbdaac62dfbf7c6458cb3e6f46b04
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_cmds.c | 10 | ||||
-rw-r--r-- | src/version.c | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 45f8e79e25..b2656a98a9 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4979,14 +4979,18 @@ int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_la "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?", "/\\?", "/\\z(\\)", "\\=", ":s\\=", "[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", "/star", "/\\\\star", "quotestar", "starstar", "cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)", "?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?", "/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=", "\\[count]", "\\[quotex]", "\\[range]", - "\\[pattern]", "\\\\bar", "/\\\\%\\$"}; + "\\[pattern]", "\\\\bar", "/\\\\%\\$", + "s/\\\\\\~", "s/\\\\U", "s/\\\\L", + "s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"}; int flags; d = IObuff; /* assume IObuff is long enough! */ @@ -5020,7 +5024,7 @@ int find_help_tags(char_u *arg, int *num_matches, char_u ***matches, int keep_la /* Replace: * "[:...:]" with "\[:...:]" * "[++...]" with "\[++...]" - * "\{" with "\\{" + * "\{" with "\\{" -- matching "} \}" */ if ((arg[0] == '[' && (arg[1] == ':' || (arg[1] == '+' && arg[2] == '+'))) diff --git a/src/version.c b/src/version.c index f7f6a7e730..a747296ae0 100644 --- a/src/version.c +++ b/src/version.c @@ -221,6 +221,7 @@ static char *(features[]) = { static int included_patches[] = { // Add new patch number below this line + 170, 169, //168, //167, |