summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-05 00:41:50 +0000
committerKarl Berry <karl@freefriends.org>2012-05-05 00:41:50 +0000
commitfedd1465e14e7640fb141f97161d85acbfc6c111 (patch)
treef597e388c0c94057f27ed987c9873645b9ad0899
parent0dda076376f317c796a6a40d5006ef05cc7c031b (diff)
context-vim (2may12)
git-svn-id: svn://tug.org/texlive/trunk@26203 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkii10
-rw-r--r--Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv14
2 files changed, 16 insertions, 8 deletions
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 <at> ieee <dot> 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 <at> ieee <dot> 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}}