From 3cb4263a8fea39da39d23b6e1a65d258913aa6d6 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 21 Oct 2011 22:37:11 +0000
Subject: context-vim (21oct11)

git-svn-id: svn://tug.org/texlive/trunk@24356 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/context/third/vim/t-syntax-groups.tex | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'Master/texmf-dist/tex/context/third/vim/t-syntax-groups.tex')

diff --git a/Master/texmf-dist/tex/context/third/vim/t-syntax-groups.tex b/Master/texmf-dist/tex/context/third/vim/t-syntax-groups.tex
index 3ecf5f319e1..e81698a15d2 100644
--- a/Master/texmf-dist/tex/context/third/vim/t-syntax-groups.tex
+++ b/Master/texmf-dist/tex/context/third/vim/t-syntax-groups.tex
@@ -1,6 +1,6 @@
 %D \module
 %D   [     file=t-syntax-groups,
-%D      version=2011.09.03,
+%D      version=2011.10.20,
 %D        title=\CONTEXT\ User Module,
 %D     subtitle=Syntax highlighting support,
 %D       author=Aditya Mahajan,
@@ -9,9 +9,7 @@
 %D        email=adityam <at> ieee <dot> org,
 %D      license=Simplified BSD License]
 
-\writestatus{loading}{Syntax highlighting groups (ver: 2011.09.03)}
-
-\tracingmacros=1
+\writestatus{loading}{Syntax highlighting groups (ver: 2011.10.20)}
 
 % Colors are specified in hex; in MkII the hex mode needs to be activated. 
 \doifmode\s!mkii
@@ -77,7 +75,7 @@
 \starttexdefinition colorscheme::start [#1]
      \pushmacro\colorscheme::name
      \setcolorscheme{#1}
-     \setupsyntaxgroup[\c!color=,\c!style=,\c!command=]
+     %\setupsyntaxgroup[\c!color=,\c!style=,\c!command=]
 \stoptexdefinition
 
 \def\stopcolorscheme
@@ -89,6 +87,7 @@
 \starttexdefinition syntaxgroup [#1]#2
   % #1 = style
   % #2 = content
+      \syntaxgroupparameter\c!before
       \begingroup
       \edef\syntaxgroup::name{\colorscheme::name#1}%
       \iftracesyntaxgroups
@@ -101,6 +100,7 @@
         \externalfilter::attributes_stop
       }
       \endgroup
+      \syntaxgroupparameter\c!after
 \stoptexdefinition
 
 %D Tracing macros
-- 
cgit v1.2.3

