summaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-11-06 23:55:01 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2013-11-06 23:55:01 +0100
commitb2d556d384e13d3180013ef8161936a4c3b990cd (patch)
tree1e2b6d706d7dc2771b9cacb24a4183ecb4e34c24 /syntax
parent30c1920e4fa4e612238e1f435907c40ecfa47f33 (diff)
downloadvim-polyglot-b2d556d384e13d3180013ef8161936a4c3b990cd.tar.gz
vim-polyglot-b2d556d384e13d3180013ef8161936a4c3b990cd.zip
Update latex, ruby and mason
Diffstat (limited to 'syntax')
-rw-r--r--syntax/mason.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/mason.vim b/syntax/mason.vim
index 71a1e37e..c94f8e8e 100644
--- a/syntax/mason.vim
+++ b/syntax/mason.vim
@@ -59,6 +59,8 @@ syn region masonLine matchgroup=Delimiter start="^%" end="$" keepend contains=@p
syn region masonExpr matchgroup=Delimiter start="<%" end="%>" contains=@perlTop
syn region masonPerl matchgroup=Delimiter start="<%perl>" end="</%perl>" contains=masonPod,@perlTop
syn region masonComp keepend matchgroup=Delimiter start="<&\s*\%(\a\+:\)\?[._/[:alnum:]]*" end="&>" contains=@perlTop
+syn region masonComp keepend matchgroup=Delimiter skipnl start="<&|\s*\%(\a\+:\)\?[._/[:alnum:]]*" end="&>" contains=@perlTop nextgroup=masonCompContent
+syn region masonCompContent matchgroup=Delimiter start="" end="</&>" contained contains=@masonTop
syn region masonArgs matchgroup=Delimiter start="<%args>" end="</%args>" contains=masonPod,@perlTop