> I'm just curious about this deemphasizing. How you see the normal comments > in python versus the comments of Leo metadata inside this Python file. For > example if we have: > > # This is a test file of python that has some commented code > #@<leo-metadata> > > This two lines should be seen different in vim using your syntax file?
Yes that's right, the two lines are treated differently. Basically the syntax file scans for any occurrence of "@@" or "@+" or "@-" within the first 5 characters of a Comment line. If found the line is called a "leoSentinel" and changed to lightgrey. Each leoSentinel line is further scanned for the right most asterisk "*", and the contents to the right of that revert back to the normal Comment colour. That's the theory anyway. For some reason it doesn't work with html files, though it did at an earlier point in my experiments. A new update is forthcoming which should make it a little more reliable. cheers, -matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-edi...@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.