summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-09 11:41:01 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-09 11:41:01 +0100
commita76f59d817e2da31d83b4f0e978b52abe81e0ae9 (patch)
tree305db500c697234e010d195d0a30f91a005ba5e6
parent65189a1294307abf007faab7385dc0145ba72b06 (diff)
downloadvim-git-a76f59d817e2da31d83b4f0e978b52abe81e0ae9.tar.gz
patch 8.0.0315: :help :[range] does not workv8.0.0315
Problem: ":help :[range]" does not work. (Tony Mechelynck) Solution: Translate to insert a backslash.
-rw-r--r--src/ex_cmds.c6
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 58a018612..8fda8d491 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6505,7 +6505,8 @@ find_help_tags(
"cpo-*", "/\\(\\)", "/\\%(\\)",
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
"/\\?", "/\\z(\\)", "\\=", ":s\\=",
- "[count]", "[quotex]", "[range]",
+ "[count]", "[quotex]",
+ "[range]", ":[range]",
"[pattern]", "\\|", "\\%$",
"s/\\~", "s/\\U", "s/\\L",
"s/\\1", "s/\\2", "s/\\3", "s/\\9"};
@@ -6514,7 +6515,8 @@ find_help_tags(
"cpo-star", "/\\\\(\\\\)", "/\\\\%(\\\\)",
"?", ":?", "?<CR>", "g?", "g?g?", "g??", "z?",
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
- "\\[count]", "\\[quotex]", "\\[range]",
+ "\\[count]", "\\[quotex]",
+ "\\[range]", ":\\[range]",
"\\[pattern]", "\\\\bar", "/\\\\%\\$",
"s/\\\\\\~", "s/\\\\U", "s/\\\\L",
"s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"};
diff --git a/src/version.c b/src/version.c
index 4da417b92..71622392f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 315,
+/**/
314,
/**/
313,