diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-06 13:22:17 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-06 13:22:17 +0200 |
commit | 1e533e5982a9c80f262b09fbe94e1ac4555ad915 (patch) | |
tree | ed573a3e399a95c2c3baeb6a1371d4753357cecc /syntax/slim.vim | |
parent | 56121b4e27cb48efb17be55a969b2f0d725266f8 (diff) | |
download | vim-polyglot-1e533e5982a9c80f262b09fbe94e1ac4555ad915.tar.gz vim-polyglot-1e533e5982a9c80f262b09fbe94e1ac4555ad915.zip |
Update
Diffstat (limited to 'syntax/slim.vim')
-rw-r--r-- | syntax/slim.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/slim.vim b/syntax/slim.vim index 0fcedef7..40ad0a1d 100644 --- a/syntax/slim.vim +++ b/syntax/slim.vim @@ -43,7 +43,8 @@ syn match slimTag "\w\+[><]*" contained contains=htmlTagName n syn match slimIdChar "#{\@!" contained nextgroup=slimId syn match slimId "\%(\w\|-\)\+" contained nextgroup=@slimComponent syn match slimClassChar "\." contained nextgroup=slimClass -syn match slimClass "\%(\w\|-\|\/\d+\|:\(\w\|-\)\+\)\+" contained nextgroup=@slimComponent +syn match slimClass "\%(\w\|-\|\/\|:\(\w\|-\)\+\)\+" contained nextgroup=@slimComponent + syn match slimInlineTagChar "\s*:\s*" contained nextgroup=slimTag,slimClassChar,slimIdChar syn region slimWrappedAttrs matchgroup=slimWrappedAttrsDelimiter start="\s*{\s*" skip="}\s*\"" end="\s*}\s*" contained contains=slimAttr nextgroup=slimRuby |