diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.tex | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.tex b/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.tex index 2cfa6ae6804..09c2ef8e0d0 100644 --- a/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.tex +++ b/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.tex @@ -1,6 +1,6 @@ %D \module %D [ file=t-syntax-highlight, -%D version=2011.09.03, +%D version=2011.10.14, %D title=\CONTEXT\ User Module, %D subtitle=Code syntax highlighting, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam <at> ieee <dot> org, %D license=Simplified BSD License] -\writestatus{loading}{Code syntax highlighting (ver: 2011.09.03)} +\writestatus{loading}{Code syntax highlighting (ver: 2011.10.14)} \startmodule [syntax-highlight] \usemodule [syntax-groups] @@ -43,6 +43,8 @@ \def\syntaxhighlighting::namespace {@@@@\syntaxhighlighting::id} \def\syntaxhighlighting::name {} +\edef\t!syntaxhighlighting {\syntaxhighlighting::id} + \installparameterhandler \syntaxhighlighting::namespace \syntaxhighlighting::id \installsetuphandler \syntaxhighlighting::namespace \syntaxhighlighting::id @@ -150,6 +152,13 @@ [\syntaxhighlighting::name] [\c!continue=\externalfilterparameter{\c!number\c!continue}]} \stoptexdefinition + +\starttexdefinition syntaxhighlighting::linenumbering_stop + \dostoptagged + \doifinset{\externalfilterparameter\c!numbering}\syntaxhighlighting::yes + {\stoplinenumbering} +\stoptexdefinition + \stopmode \startmode [\s!mkii] @@ -159,12 +168,12 @@ {\startlinenumbering[\v!continue]} {\startlinenumbering}} \stoptexdefinition -\stopmode \starttexdefinition syntaxhighlighting::linenumbering_stop \doifinset{\externalfilterparameter\c!numbering}\syntaxhighlighting::yes {\stoplinenumbering} \stoptexdefinition +\stopmode \setupsyntaxhighlighting [\c!tab=4, @@ -265,4 +274,3 @@ \protectmodulecatcodes \stopmodule - |