summaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2018-12-26 10:56:23 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2018-12-26 10:56:23 +0100
commitaad3df96e795b314d31171fea54b7455076d1d7b (patch)
treede25758c43c2dee3a151550c81a0a7d71cb4e86a /syntax
parent629a1e1c93145e779fc243614f18b606f1e53e0c (diff)
downloadvim-polyglot-aad3df96e795b314d31171fea54b7455076d1d7b.tar.gz
vim-polyglot-aad3df96e795b314d31171fea54b7455076d1d7b.zip
Update
Diffstat (limited to 'syntax')
-rw-r--r--syntax/haml.vim4
1 files changed, 2 insertions, 2 deletions
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 <vimNOSPAM@tpope.org>
" 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="$"