Today I was writing a simple bash script and I've noticed that leo
doesn't color variable names properly. I'm attaching a trivial snippet
that shows this:

--- cut here ---
@language shell

FOO_BAR='foo bar'
FOO1_BAR1='foo1 bar1'

echo $FOO_BAR*
echo $FOO_BAR-$FOO1_BAR1
--- cut here ---

The variable names in the last two lines are not highlighted
correctly. This becomes clear if the first line is replaced with #!/
bin/bash and this code is opened in vim/scite. I've tried only these
two editors, they highlight the variable names correctly.

Edward, if you'll consider this worth to be dealt with, feel free to
assign it the lowest possible priority. It's just a minor cosmetic
thing that doesn't affect what I do with shell scripting by any means.
Not to mention that this can be easily mitigated by just opening the
node body in some external editor which does syntax highlighting
better than leo.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to