For a line in the body starting with @language, the directive is colored 
for common languages but not all.  Specifically, it gets colored for plsql but 
not sql.   I would like to include sql in the colored directives.  I 
noticed that there was a syntax rules file plsql.py in the leo/modes 
directory but no similar sql.py file.

When I copied plsql.py to sql.py, the @language directive became colored as 
I wanted although the actual code in the body did not get colorized.

I have two questions:

1. Is there any reason not to add a sql.py rules file to the modes 
directory?
2. What change do I need to make to have Leo's colorizer color kick in and 
colorize SQL code that follows an @language sql directive?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e2cfcf2f-4dad-4701-9649-1a6408bcf467n%40googlegroups.com.

Reply via email to