Re: obsolete RPM tags highlighting



On Thu, 2006-07-13 at 14:08 +0200, Jindrich Novy wrote:
> Hi mc-devel,
> 
> attaching a simple patch that highlights obsolete RPM tags with white
> color so that it helps the spec file editor to be better aware of the
> fact they are obsolete for several years and shouldn't be used.


The patch was in the reversed order, attaching the correct one...

Jindrich
--- mc/syntax/spec.syntax.obsolete	2006-06-21 17:22:55.000000000 +0200
+++ mc/syntax/spec.syntax	2006-07-13 13:59:28.000000000 +0200
@@ -7,7 +7,7 @@
     keyword whole Build\{Rr\}oot: green
     keyword whole BuildRequires: green
     keyword whole Conflicts: green
-    keyword whole Copyright: green
+    keyword whole Copyright: white
     keyword whole Description: green    
     keyword whole Distribution: green    
     keyword whole Doc\{Dd\}ir: green    
@@ -30,6 +30,7 @@
     keyword whole Release: green    
     keyword whole Requires: green    
     keyword whole Root: green    
+    keyword whole Serial: white
     keyword whole Source\[0123456789\]: green
     keyword whole Summary: green
     keyword whole Summary(\[abcdefghijklmnopqrstuvwxyz\]): green


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]