diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:05:44 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-04-15 01:05:44 +0200 |
commit | 610f4c570123510f2d6f4c5799d880d8581126cf (patch) | |
tree | a2bbc1de1fbdd22e2b2eb4d4d2447b3cc8467fba /syntax/haml.vim | |
parent | f3833f5a39b91f1e42f12e45a2e61e351218c495 (diff) | |
download | vim-polyglot-610f4c570123510f2d6f4c5799d880d8581126cf.tar.gz vim-polyglot-610f4c570123510f2d6f4c5799d880d8581126cf.zip |
Update
Diffstat (limited to 'syntax/haml.vim')
-rw-r--r-- | syntax/haml.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/haml.vim b/syntax/haml.vim index bf7a0736..4cc54caa 100644 --- a/syntax/haml.vim +++ b/syntax/haml.vim @@ -67,7 +67,7 @@ syn region hamlJavascriptFilter matchgroup=hamlFilter start="^\z(\s*\):javascri syn region hamlCSSFilter matchgroup=hamlFilter start="^\z(\s*\):css\s*$" end="^\%(\z1 \| *$\)\@!" contains=@htmlCss,hamlInterpolation keepend syn region hamlSassFilter matchgroup=hamlFilter start="^\z(\s*\):sass\s*$" end="^\%(\z1 \| *$\)\@!" contains=@hamlSassTop -syn region hamlJavascriptBlock start="^\z(\s*\)%script" nextgroup=@hamlComponent,hamlError end="^\%(\z1 \| *$\)\@!" contains=@hamlTop,@htmlJavaScript keepend +syn region hamlJavascriptBlock start="^\z(\s*\)%script\%((type=[\"']text/javascript[\"'])\)\=\s*$" nextgroup=@hamlComponent,hamlError end="^\%(\z1 \| *$\)\@!" contains=@hamlTop,@htmlJavaScript keepend syn region hamlCssBlock start="^\z(\s*\)%style" nextgroup=@hamlComponent,hamlError end="^\%(\z1 \| *$\)\@!" contains=@hamlTop,@htmlCss keepend syn match hamlError "\$" contained |