diff 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
line wrap: on
line diff
--- a/vendor/vim-syntax/slim.vim	Wed Sep 16 14:19:54 2020 +0900
+++ b/vendor/vim-syntax/slim.vim	Wed Sep 16 15:35:09 2020 +0900
@@ -41,7 +41,8 @@
 syn match slimIdChar        "#{\@!"        contained nextgroup=slimId
 syn match slimId            "\%(\w\|-\)\+" contained nextgroup=@slimComponent
 syn match slimClassChar     "\."           contained nextgroup=slimClass
-syn match slimClass         "\%(\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