Yes, I did create modes/yaml.py using the jEdit2py script. Even verified my process by importing and testing pg-sql.xml from jEdit, which worked (colorized text in nodes with @language pg-sql).
So I suspect there's some yaml-specific bug in syntax highlighter. Juraj On Monday, July 28, 2014 9:44:48 PM UTC+2, Edward K. Ream wrote: > > On Mon, Jul 28, 2014 at 12:15 PM, Juraj <[email protected] <javascript:>> > wrote: > > > I did import yaml.xml from jEdit and added it into > self.language_delims_dict > > but I can't get Leo to syntax highlight it nor apply the options like > > tabwidth = 2 . Leo *does* load the file and modes/yaml.pyc is created > but > > otherwise it does nothing nor outputs any error. > > Did you create modes/yaml.py using the jEdit2py script in scripts.leo? > I'm guessing maybe you did, since you mention modes/yaml.pyc... > > This might be a good time to create the three language-description > dicts in leoApp.py using "plugin" descriptions in, say, > plugins/languages. > > In the meantime, I'll attempt to support yaml myself. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
