comparison runtime/syntax/haml.vim @ 18818:5c40013d45ee

Update runtime files. Commit: https://github.com/vim/vim/commit/c08ee7476b19f9b4de5df287797af87c4e3fba0a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 5 22:47:25 2019 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Dec 2019 23:00:04 +0100
parents 43efa4f5a8ea
children
comparison
equal deleted inserted replaced
18817:17aefb9d7c45 18818:5c40013d45ee
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Haml 2 " Language: Haml
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org>
4 " Filenames: *.haml 4 " Filenames: *.haml
5 " Last Change: 2016 Aug 29 5 " Last Change: 2019 Dec 05
6 6
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
8 finish 8 finish
9 endif 9 endif
10 10
36 syn region hamlObject matchgroup=hamlObjectDelimiter start="\[" end="\]" contained contains=@hamlRubyTop nextgroup=@hamlComponent 36 syn region hamlObject matchgroup=hamlObjectDelimiter start="\[" end="\]" contained contains=@hamlRubyTop nextgroup=@hamlComponent
37 syn match hamlDespacer "[<>]" contained nextgroup=hamlDespacer,hamlSelfCloser,hamlRuby,hamlPlainChar,hamlInterpolatable 37 syn match hamlDespacer "[<>]" contained nextgroup=hamlDespacer,hamlSelfCloser,hamlRuby,hamlPlainChar,hamlInterpolatable
38 syn match hamlSelfCloser "/" contained 38 syn match hamlSelfCloser "/" contained
39 syn match hamlClassChar "\." contained nextgroup=hamlClass 39 syn match hamlClassChar "\." contained nextgroup=hamlClass
40 syn match hamlIdChar "#{\@!" contained nextgroup=hamlId 40 syn match hamlIdChar "#{\@!" contained nextgroup=hamlId
41 syn match hamlClass "\%(\w\|-\)\+" contained nextgroup=@hamlComponent 41 syn match hamlClass "\%(\w\|-\|\:\)\+" contained nextgroup=@hamlComponent
42 syn match hamlId "\%(\w\|-\)\+" contained nextgroup=@hamlComponent 42 syn match hamlId "\%(\w\|-\)\+" contained nextgroup=@hamlComponent
43 syn region hamlDocType start="^\s*!!!" end="$" 43 syn region hamlDocType start="^\s*!!!" end="$"
44 44
45 syn region hamlRuby matchgroup=hamlRubyOutputChar start="[!&]\==\|\~" skip=",\s*$" end="$" contained contains=@hamlRubyTop keepend 45 syn region hamlRuby matchgroup=hamlRubyOutputChar start="[!&]\==\|\~" skip=",\s*$" end="$" contained contains=@hamlRubyTop keepend
46 syn region hamlRuby matchgroup=hamlRubyChar start="-" skip=",\s*$" end="$" contained contains=@hamlRubyTop keepend 46 syn region hamlRuby matchgroup=hamlRubyChar start="-" skip=",\s*$" end="$" contained contains=@hamlRubyTop keepend