summaryrefslogtreecommitdiffstats
path: root/syntax/slim.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-07-26 10:20:08 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-07-26 10:20:08 +0200
commit56121b4e27cb48efb17be55a969b2f0d725266f8 (patch)
tree30df0f431705cdb72b2014177ce3f0655287a81c /syntax/slim.vim
parent9c3c0bc082e0d58d15dc6f24d8a335931417e2f0 (diff)
downloadvim-polyglot-56121b4e27cb48efb17be55a969b2f0d725266f8.tar.gz
vim-polyglot-56121b4e27cb48efb17be55a969b2f0d725266f8.zip
Update
Diffstat (limited to 'syntax/slim.vim')
-rw-r--r--syntax/slim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/slim.vim b/syntax/slim.vim
index d2ba2e0a..0fcedef7 100644
--- a/syntax/slim.vim
+++ b/syntax/slim.vim
@@ -43,7 +43,7 @@ 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\|-\)\+" contained nextgroup=@slimComponent
+syn match slimClass "\%(\w\|-\|\/\d+\|:\(\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