]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.170 v7.4.170
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2014 11:15:43 +0000 (12:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2014 11:15:43 +0000 (12:15 +0100)
Problem:    Some help tags don't work with ":help". (Tim Chase)
Solution:   Add exceptions.

src/ex_cmds.c
src/version.c

index 8f85911bad0c9d3c2ac3cfedcbf60bdbf0646c72..70cdd349d8e706fe4abd04c66ef8652315a78cc4 100644 (file)
@@ -5936,14 +5936,18 @@ find_help_tags(arg, num_matches, matches, keep_lang)
                               "?", ":?", "?<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! */
@@ -5982,7 +5986,7 @@ find_help_tags(arg, num_matches, matches, keep_lang)
          /* Replace:
           * "[:...:]" with "\[:...:]"
           * "[++...]" with "\[++...]"
-          * "\{" with "\\{"
+          * "\{" with "\\{"               -- matching "} \}"
           */
            if ((arg[0] == '[' && (arg[1] == ':'
                         || (arg[1] == '+' && arg[2] == '+')))
index 06ab7b425f76c9144695664168e3a41fd60976c4..f3ede133ea2a70b52e96a605b8befbc1baebe0cf 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    170,
 /**/
     169,
 /**/