]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-052 v7.2.052
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Nov 2008 10:16:05 +0000 (10:16 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Nov 2008 10:16:05 +0000 (10:16 +0000)
runtime/doc/eval.txt
src/eval.c
src/version.c

index 3ea7d7f4d3f1bac280dcfa95407210f1139929bd..92d7a0f0537edec7bd3878a28ac3dfb65f60f890 100644 (file)
@@ -5348,10 +5348,12 @@ synIDattr({synID}, {what} [, {mode}])                   *synIDattr()*
                "fg"            foreground color (GUI: color name used to set
                                the color, cterm: color number as a string,
                                term: empty string)
-               "bg"            background color (like "fg")
+               "bg"            background color (as with "fg")
+               "sp"            special color (as with "fg") |highlight-guisp|
                "fg#"           like "fg", but for the GUI and the GUI is
                                running the name in "#RRGGBB" form
                "bg#"           like "fg#" for "bg"
+               "sp#"           like "fg#" for "sp"
                "bold"          "1" if bold
                "italic"        "1" if italic
                "reverse"       "1" if reverse
index e118f042eb59924b13f73f7563eb7318005e0842..73941504972983e7a7109175b0e57fb7e9cd71cc 100644 (file)
@@ -16648,8 +16648,11 @@ f_synIDattr(argvars, rettv)
                p = highlight_has_attr(id, HL_INVERSE, modec);
                break;
 
-       case 's':                                       /* standout */
-               p = highlight_has_attr(id, HL_STANDOUT, modec);
+       case 's':
+               if (TOLOWER_ASC(what[1]) == 'p')        /* sp[#] */
+                   p = highlight_color(id, what, modec);
+               else                                    /* standout */
+                   p = highlight_has_attr(id, HL_STANDOUT, modec);
                break;
 
        case 'u':
index e45bd1203f8cae2f35647ce5fbd7547ad6be53c1..6940c821b65d21a8b31c0392bde5a7bec161aa58 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    52,
 /**/
     51,
 /**/