summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-19 22:11:30 +0000
committerKarl Berry <karl@freefriends.org>2012-04-19 22:11:30 +0000
commit82afdc5a4fe79698123b776121eaa565dd48939c (patch)
treecaa8f678b3d7d5cb22ea3fe24fc3fb1bb943b528
parent675f5610ee1595b20a9e77695a8aad5eb1ef9a2b (diff)
context-vim (19apr12)
git-svn-id: svn://tug.org/texlive/trunk@26058 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/context/third/vim/vim.txt7
-rw-r--r--Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkii11
-rw-r--r--Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv11
-rw-r--r--Master/texmf-dist/tex/context/third/vim/t-vim.tex6
4 files changed, 22 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/context/third/vim/vim.txt b/Master/texmf-dist/doc/context/third/vim/vim.txt
index 962495811ec..272e509d435 100644
--- a/Master/texmf-dist/doc/context/third/vim/vim.txt
+++ b/Master/texmf-dist/doc/context/third/vim/vim.txt
@@ -119,8 +119,11 @@ defines three things:
\typeRUBYfile{...}
- The argument of this macro must a file name. That file is processed by
- `2context.vim` and the result is read back in ConTeXt.
+ The argument of this macro must a file name or a url (urls work in MkIV
+ only). That file is processed by `2context.vim` and the result is read back
+ in ConTeXt. For controling how frequently a remote file is downloaded when
+ processing a url, see the _Processing remote files_ section of the
+ `t-filter` manual.
In all the three cases, the `t-filter` module takes care of writing to external
file, processing by `2context.vim`, and reading the contents back to 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 228bb390fd9..5696c620575 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=2011.12.28,
+%D version=2012.04.18,
%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.12.28)}
+\writestatus{loading}{Code syntax highlighting (ver: 2012.04.18)}
\startmodule [syntax-highlight]
\usemodule [syntax-groups]
@@ -171,8 +171,11 @@
\c!stop=0,
% \c!syntax=context,
\c!alternative=pscolor,
- \c!before=\blank,
- \c!after=\blank,
+ \c!before=,
+ \c!after=,
+ \c!spacebefore=\v!none,
+ \c!spaceafter=\v!none,
+ \c!location=\v!paragraph,
\c!style=\tttf,
\c!color=,
\c!filtercommand=echo, % placeholder
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 8dbeb20236b..822d36907ba 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.01.14,
+%D version=2012.04.18,
%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.01.14)}
+\writestatus{loading}{Code syntax highlighting (ver: 2012.04.18)}
\startmodule [syntax-highlight]
\usemodule [syntax-groups]
@@ -115,8 +115,11 @@
\c!stop=0,
% \c!syntax=context,
\c!alternative=pscolor,
- \c!before=\blank,
- \c!after=\blank,
+ \c!before=,
+ \c!after=,
+ \c!spacebefore=\v!none,
+ \c!spaceafter=\v!none,
+ \c!location=\v!paragraph,
\c!style=\tttf,
\c!color=,
\c!filtercommand=echo, % placeholder
diff --git a/Master/texmf-dist/tex/context/third/vim/t-vim.tex b/Master/texmf-dist/tex/context/third/vim/t-vim.tex
index de904f25e1b..d95b694a8aa 100644
--- a/Master/texmf-dist/tex/context/third/vim/t-vim.tex
+++ b/Master/texmf-dist/tex/context/third/vim/t-vim.tex
@@ -1,6 +1,6 @@
%D \module
%D [ file=t-vim,
-%D version=2012.02.11,
+%D version=2012.04.18,
%D title=\CONTEXT\ User Module,
%D subtitle=Vim syntax highlighting,
%D author=Aditya Mahajan,
@@ -9,7 +9,7 @@
%D email=adityam <at> ieee <dot> org,
%D license=Simplified BSD License]
-\writestatus{loading}{Vim syntax highlighting (ver: 2012.02.11)}
+\writestatus{loading}{Vim syntax highlighting (ver: 2012.04.18)}
\startmodule [vim]
\usemodule [filter] % loads module catcodes
@@ -87,7 +87,7 @@
\edef\currentexternalfilter{#1}
\begingroup % to keep assignments local
- \setupvimtyping[#1][\c!name=,\c!before=,\c!after=,#2]
+ \setupvimtyping[#1][\c!name=,\c!location=\v!text,#2]
\externalfilter@attributes_start \externalfilter@id \c!style \c!color
% We assume that the setups set minimal_catcodes