haml.jsf (1913B)
1 # JOE syntax highlight file for Haml 2 # by Christian Nicolai (http://mycrobase.de) 3 4 =Idle 5 =Comment 6 =Constant 7 =Escape 8 =Bad 9 =Brace 10 11 =TagName +Keyword 12 =TagEnd +Keyword 13 =Id +DefinedIdent 14 15 =Class +Type 16 =Doctype +Preproc 17 =Filter +Operator +Keyword 18 19 :line_start Idle 20 * idle noeat 21 # eat indent 22 " " line_start 23 "\\" escape_first recolor=-1 24 "!" doctype1 25 "%" tag recolor=-1 26 # implicit <div> 27 ".#" after_tag noeat 28 "/" html_comment recolor=-1 29 ":" filter recolor=-1 30 31 :escape_first Constant 32 * idle_no_ruby 33 34 :idle Constant 35 * idle_no_ruby 36 "\n" line_start 37 "#" maybe_subst 38 "\\" maybe_subst_escape 39 "=~-" ruby_call noeat 40 "&!" maybe_esc_ruby_call 41 42 :idle_no_ruby Constant 43 * idle_no_ruby 44 "\n" line_start 45 "#" maybe_subst 46 "\\" maybe_subst_escape 47 48 :doctype1 Idle 49 * idle recolor=-2 50 "=" esc_ruby_call recolor=-2 51 "!" doctype2 52 53 :doctype2 Idle 54 * idle recolor=-3 55 "!" doctype3 recolor=-3 56 57 :doctype3 Doctype 58 * doctype3 59 "\n" line_start 60 61 :tag TagName 62 * idle noeat 63 "a-zA-Z0-9_-" tag 64 ".#{(/" after_tag noeat 65 66 :after_tag Idle 67 * idle noeat 68 "." class recolor=-1 69 "#" id recolor=-1 70 "{" attrA 71 "(" attrB 72 "/" tag_close recolor=-1 73 74 :class Class 75 * after_tag noeat 76 "a-zA-Z0-9_-" class 77 78 :id Id 79 * after_tag noeat 80 "a-zA-Z0-9_-" id 81 82 :attrA Idle 83 * attrA 84 "}" after_tag 85 86 :attrB Idle 87 * attrB 88 ")" after_tag 89 90 :tag_close TagEnd 91 * idle noeat 92 93 :html_comment Comment comment 94 * html_comment 95 "\n" line_start 96 97 :ruby_call Idle 98 * line_start call=ruby.ruby(haml) 99 100 :maybe_esc_ruby_call Constant 101 * idle_no_ruby 102 "=" esc_ruby_call recolor=-2 103 104 :esc_ruby_call Idle 105 * line_start call=ruby.ruby(haml) 106 "=" esc_ruby_call2 107 108 :esc_ruby_call2 Idle 109 * line_start call=ruby.ruby(haml) 110 111 :maybe_subst Constant 112 * idle_no_ruby 113 "{" subst recolor=-2 114 115 :subst Escape 116 * subst 117 "}" idle_no_ruby 118 119 :maybe_subst_escape Constant 120 * idle_no_ruby 121 122 :filter Filter 123 * idle 124 "a-zA-Z0-9_" filter