Mercurial > ec-dotfiles
comparison vendor/vim-syntax/slim.vim @ 646:673c14e2a45e
Update syntaxes
author | nanaya <me@nanaya.pro> |
---|---|
date | Wed, 16 Sep 2020 15:35:09 +0900 |
parents | c548e83e4c57 |
children | 78469331407e |
comparison
equal
deleted
inserted
replaced
645:7e4b3136f55e | 646:673c14e2a45e |
---|---|
39 | 39 |
40 syn match slimTag "\w\+[><]*" contained contains=htmlTagName nextgroup=@slimComponent | 40 syn match slimTag "\w\+[><]*" contained contains=htmlTagName nextgroup=@slimComponent |
41 syn match slimIdChar "#{\@!" contained nextgroup=slimId | 41 syn match slimIdChar "#{\@!" contained nextgroup=slimId |
42 syn match slimId "\%(\w\|-\)\+" contained nextgroup=@slimComponent | 42 syn match slimId "\%(\w\|-\)\+" contained nextgroup=@slimComponent |
43 syn match slimClassChar "\." contained nextgroup=slimClass | 43 syn match slimClassChar "\." contained nextgroup=slimClass |
44 syn match slimClass "\%(\w\|-\)\+" contained nextgroup=@slimComponent | 44 syn match slimClass "\%(\w\|-\|\/\|:\(\w\|-\)\+\)\+" contained nextgroup=@slimComponent |
45 | |
45 syn match slimInlineTagChar "\s*:\s*" contained nextgroup=slimTag,slimClassChar,slimIdChar | 46 syn match slimInlineTagChar "\s*:\s*" contained nextgroup=slimTag,slimClassChar,slimIdChar |
46 | 47 |
47 syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*{\s*" skip="}\s*\"" end="\s*}\s*" contained contains=slimAttr nextgroup=slimRuby | 48 syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*{\s*" skip="}\s*\"" end="\s*}\s*" contained contains=slimAttr nextgroup=slimRuby |
48 syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*\[\s*" end="\s*\]\s*" contained contains=slimAttr nextgroup=slimRuby | 49 syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*\[\s*" end="\s*\]\s*" contained contains=slimAttr nextgroup=slimRuby |
49 syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*(\s*" end="\s*)\s*" contained contains=slimAttr nextgroup=slimRuby | 50 syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*(\s*" end="\s*)\s*" contained contains=slimAttr nextgroup=slimRuby |