At beginning of line, #{ is interpolation, not id

This commit is contained in:
Tim Pope
2009-07-23 15:17:35 -04:00
parent d8d48f24b9
commit cabed106e2

View File

@@ -33,7 +33,7 @@ syn region hamlObject matchgroup=hamlObjectDelimiter start="\[" end
syn match hamlDespacer "[<>]" contained nextgroup=hamlDespacer,hamlSelfCloser,hamlRuby,hamlPlainChar,hamlInterpolatable syn match hamlDespacer "[<>]" contained nextgroup=hamlDespacer,hamlSelfCloser,hamlRuby,hamlPlainChar,hamlInterpolatable
syn match hamlSelfCloser "/" contained syn match hamlSelfCloser "/" contained
syn match hamlClassChar "\." contained nextgroup=hamlClass syn match hamlClassChar "\." contained nextgroup=hamlClass
syn match hamlIdChar "#" contained nextgroup=hamlId syn match hamlIdChar "#{\@!" contained nextgroup=hamlId
syn match hamlClass "\%(\w\|-\)\+" contained nextgroup=@hamlComponent syn match hamlClass "\%(\w\|-\)\+" contained nextgroup=@hamlComponent
syn match hamlId "\%(\w\|-\)\+" contained nextgroup=@hamlComponent syn match hamlId "\%(\w\|-\)\+" contained nextgroup=@hamlComponent
syn region hamlDocType start="^\s*!!!" end="$" syn region hamlDocType start="^\s*!!!" end="$"