From aad3df96e795b314d31171fea54b7455076d1d7b Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 26 Dec 2018 10:56:23 +0100 Subject: Update --- syntax/haml.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'syntax') diff --git a/syntax/haml.vim b/syntax/haml.vim index c1c407f0..721277ce 100644 --- a/syntax/haml.vim +++ b/syntax/haml.vim @@ -4,7 +4,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1 " Language: Haml " Maintainer: Tim Pope " Filenames: *.haml -" Last Change: 2010 Aug 09 +" Last Change: 2018 Aug 21 if exists("b:current_syntax") finish @@ -40,7 +40,7 @@ syn match hamlDespacer "[<>]" contained nextgroup=hamlDespacer,hamlSelfCloser, syn match hamlSelfCloser "/" contained syn match hamlClassChar "\." contained nextgroup=hamlClass 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 region hamlDocType start="^\s*!!!" end="$" -- cgit v1.2.3