aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/haml.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-24 18:38:10 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 09:21:31 -0400
commit3e47e529b0354dbd665202bbc4f485a5160206bf (patch)
tree6c8afbab1ca1061643178a55d230e2e3bd5cd42e /runtime/syntax/haml.vim
parent5426785541003a8af28eb1710d771aba505464c4 (diff)
downloadrneovim-3e47e529b0354dbd665202bbc4f485a5160206bf.tar.gz
rneovim-3e47e529b0354dbd665202bbc4f485a5160206bf.tar.bz2
rneovim-3e47e529b0354dbd665202bbc4f485a5160206bf.zip
vim-patch:c08ee7476b19
Update runtime files. https://github.com/vim/vim/commit/c08ee7476b19f9b4de5df287797af87c4e3fba0a
Diffstat (limited to 'runtime/syntax/haml.vim')
-rw-r--r--runtime/syntax/haml.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/haml.vim b/runtime/syntax/haml.vim
index 5369695c22..c14b88f502 100644
--- a/runtime/syntax/haml.vim
+++ b/runtime/syntax/haml.vim
@@ -2,7 +2,7 @@
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Filenames: *.haml
-" Last Change: 2016 Aug 29
+" Last Change: 2019 Dec 05
if exists("b:current_syntax")
finish
@@ -38,7 +38,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="$"