1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
cn
bae250abd9 Haml: not every = is the start of ruby code
If a line already contains plain characters (even whitespace, say everything
whitout a special function like tags etc) then an equal sign will only be
an equals sign not the start of ruby code.
2011-10-25 18:58:15 +02:00
cn
2b59cf9e90 Brand new Haml highlighter
The main features of Haml can be correctly parsed according to
http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html.

There exist some limitations inherently comming from the limitations
of state machine based highlighters (without side effects)... this parsers
sucks with multiline comments, strings etc since the indent based grouping
can't be evaluated.
2011-10-19 20:40:45 +02:00