1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2025-06-26 12:30:20 +02:00

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.
This commit is contained in:
cn
2011-10-19 20:34:20 +02:00
parent 0c2921e849
commit 2b59cf9e90
3 changed files with 133 additions and 1 deletions

11
ftyperc
View File

@ -866,6 +866,15 @@
*.erb
-syntax erb
.html.erb
ERB within HTML
*.html.erb
-syntax htmlerb
Haml
*.haml
-syntax haml
-istep 2
-indentc 32
-autoindent
-smarthome
-smartbacks