aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2017-12-21 18:40:40 +0800
committerckelsel <ckelsel@hotmail.com>2017-12-21 18:55:56 +0800
commiteb95b88156aa7ee022db4cf5d48656c1b5fd5a06 (patch)
tree2f2968e38fe3a8227ba83cd10976011f55bfd1dd
parent6c731d33f6729a272c5168d040ee4b86942c599b (diff)
downloadrneovim-eb95b88156aa7ee022db4cf5d48656c1b5fd5a06.tar.gz
rneovim-eb95b88156aa7ee022db4cf5d48656c1b5fd5a06.tar.bz2
rneovim-eb95b88156aa7ee022db4cf5d48656c1b5fd5a06.zip
vim-patch:8.0.0315: :help :[range] does not work
Problem: ":help :[range]" does not work. (Tony Mechelynck) Solution: Translate to insert a backslash. https://github.com/vim/vim/commit/a76f59d817e2da31d83b4f0e978b52abe81e0ae9
-rw-r--r--src/nvim/ex_cmds.c6
-rw-r--r--src/nvim/version.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 8616508d88..7188be5407 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -4619,7 +4619,8 @@ 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]",
+ "[count]", "[quotex]",
+ "[range]", ":[range]",
"[pattern]", "\\|", "\\%$",
"s/\\~", "s/\\U", "s/\\L",
"s/\\1", "s/\\2", "s/\\3", "s/\\9"};
@@ -4628,7 +4629,8 @@ 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]",
+ "\\[count]", "\\[quotex]",
+ "\\[range]", ":\\[range]",
"\\[pattern]", "\\\\bar", "/\\\\%\\$",
"s/\\\\\\~", "s/\\\\U", "s/\\\\L",
"s/\\\\1", "s/\\\\2", "s/\\\\3", "s/\\\\9"};
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 26e15e3b15..d511ccb0d6 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -941,7 +941,7 @@ static const int included_patches[] = {
// 318,
// 317,
// 316,
- // 315,
+ 315,
314,
// 313,
// 312,