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 <rin...@gmail.com <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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.