From fedd1465e14e7640fb141f97161d85acbfc6c111 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 5 May 2012 00:41:50 +0000 Subject: context-vim (2may12) git-svn-id: svn://tug.org/texlive/trunk@26203 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/context/third/vim/t-syntax-highlight.mkii | 10 +++++++--- .../tex/context/third/vim/t-syntax-highlight.mkiv | 14 +++++++++----- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/context') diff --git a/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkii b/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkii index 5696c620575..7f4006ef7c1 100644 --- a/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkii +++ b/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkii @@ -1,6 +1,6 @@ %D \module %D [ file=t-syntax-highlight, -%D version=2012.04.18, +%D version=2012.05.01, %D title=\CONTEXT\ User Module, %D subtitle=Code syntax highlighting, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam ieee org, %D license=Simplified BSD License] -\writestatus{loading}{Code syntax highlighting (ver: 2012.04.18)} +\writestatus{loading}{Code syntax highlighting (ver: 2012.05.01)} \startmodule [syntax-highlight] \usemodule [syntax-groups] @@ -72,9 +72,13 @@ \doifinset{\externalfilterparameter\c!option}{\v!packed} {\setupwhitespace[\v!none,\v!flexible]}% + \doifnotinset{\externalfilterparameter\c!option}{\v!hyphenated} + {\language\minusone}% + \setcatcodetable\externalfilter@minimal_catcodes \expandafter\def\activeendoflinetoken{\strut\par} \activatespacehandler{\syntaxhighlighting@namespace\externalfilterparameter\c!space} + \raggedright \stopsetups \startsetups syntaxhighlighting@setup_line_number_mkiv @@ -184,7 +188,7 @@ \c!readcommand=\syntaxhighlighting@read_command, \c!output=\externalfilterinputfile, % placeholder \c!setups=syntaxhighlighting@setup, - \c!option=\v!packed, % Could be a list + \c!option=\v!packed, % \v!hypenated \s!parent=\externalfilter@namespace, % Numbering options \c!numbering=\v!no, diff --git a/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv b/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv index 822d36907ba..3420f8c0118 100644 --- a/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv +++ b/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv @@ -1,6 +1,6 @@ %D \module %D [ file=t-syntax-highlight, -%D version=2012.04.18, +%D version=2012.05.01, %D title=\CONTEXT\ User Module, %D subtitle=Code syntax highlighting, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam ieee org, %D license=Simplified BSD License] -\writestatus{loading}{Code syntax highlighting (ver: 2012.04.18)} +\writestatus{loading}{Code syntax highlighting (ver: 2012.05.01)} \startmodule [syntax-highlight] \usemodule [syntax-groups] @@ -67,9 +67,13 @@ \doifinset{\externalfilterparameter\c!option}{\v!packed} {\setupwhitespace[\v!none,\v!flexible]}% + \doifnotinset{\externalfilterparameter\c!option}{\v!hyphenated} + {\language\minusone}% + \setcatcodetable\externalfilter@minimal_catcodes \expandafter\def\activeendoflinetoken{\strut\par} \activatespacehandler{\????syntaxhighlighting\externalfilterparameter\c!space} + \raggedright \stopsetups \starttexdefinition syntaxhighlighting@read_command #1 @@ -110,7 +114,7 @@ \setupsyntaxhighlighting [\c!tab=4, \c!space=\v!off, - \c!lines=\v!split, + \c!lines=\v!fixed, \c!start=1, \c!stop=0, % \c!syntax=context, @@ -128,7 +132,7 @@ \c!readcommand=\syntaxhighlighting@read_command, \c!output=\externalfilterinputfile, % placeholder \c!setups=syntaxhighlighting@setup, - \c!option=\v!packed, % Could be a list + \c!option=\v!packed, % \v!hypenated \s!parent=\????externalfilter, % Numbering options \c!numbering=\v!no, @@ -161,7 +165,7 @@ \setvalue{\????syntaxhighlighting::\c!lines::\v!fixed}{\dontleavehmode\kern} % default -\setvalue{\????syntaxhighlighting::\c!lines::}{\hskip} +\setvalue{\????syntaxhighlighting::\c!lines::}{\dontleavehmode\kern} \def\syntaxhighlighting@split% {\getvalue{\????syntaxhighlighting::\c!lines::\externalfilterparameter\c!lines}} -- cgit v1.2.3