texlive[61301] Master/texmf-dist: context-vim (14dec21)
commits+karl at tug.org
commits+karl at tug.org
Tue Dec 14 22:23:34 CET 2021
Revision: 61301
http://tug.org/svn/texlive?view=revision&revision=61301
Author: karl
Date: 2021-12-14 22:23:34 +0100 (Tue, 14 Dec 2021)
Log Message:
-----------
context-vim (14dec21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/context/third/vim/VERSION
trunk/Master/texmf-dist/doc/context/third/vim/vim.txt
trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv
trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkxl
Modified: trunk/Master/texmf-dist/doc/context/third/vim/VERSION
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/vim/VERSION 2021-12-14 21:22:56 UTC (rev 61300)
+++ trunk/Master/texmf-dist/doc/context/third/vim/VERSION 2021-12-14 21:23:34 UTC (rev 61301)
@@ -1 +1 @@
-2021.09.05
+2021.12.13
Modified: trunk/Master/texmf-dist/doc/context/third/vim/vim.txt
===================================================================
--- trunk/Master/texmf-dist/doc/context/third/vim/vim.txt 2021-12-14 21:22:56 UTC (rev 61300)
+++ trunk/Master/texmf-dist/doc/context/third/vim/vim.txt 2021-12-14 21:23:34 UTC (rev 61301)
@@ -315,8 +315,9 @@
- To change the width of the box in which the numbers are typeset, use
`numberwidth=...` option. Default value is `2em`.
-- To change the distance between the numbers and the rest of the code, use
- `numberdistance=...` option. Default value is `0.5em`.
+- By default, the numbers are placed on the left of the text area. To change
+ the distance between the numbers and the text area, use `numberdistance=...`
+ option. Default value is `0.5em`.
- To change the conversion of numbers, use `numberconversion=...` option.
Default value is `numbers`.
@@ -411,8 +412,19 @@
margin=<dimen>,
...]
-where `<dimen>` is a valid TeX dimension.
+where `<dimen>` is a valid TeX dimension. Note that this does not change the
+location of the line numbers. So, if you are using line numbers along with
+margin, also change the `numberdistance`. For example,
+
+ \definevimtyping
+ [...]
+ [...
+ margin=4em,
+ numberdistance=-3.5em,
+ ...]
+
+will place the numbers `4em - 3.5em = 0.5em` to the left of the code.
Modified: trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv
===================================================================
--- trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv 2021-12-14 21:22:56 UTC (rev 61300)
+++ trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkiv 2021-12-14 21:23:34 UTC (rev 61301)
@@ -1,6 +1,6 @@
%D \module
%D [ file=t-syntax-highlight,
-%D version=2020.06.29,
+%D version=2021.12.13,
%D title=\CONTEXT\ User Module,
%D subtitle=Code syntax highlighting,
%D author=Aditya Mahajan,
@@ -9,13 +9,13 @@
%D email=adityam <at> ieee <dot> org,
%D license=Simplified BSD License]
-\writestatus{loading}{Code syntax highlighting (ver: 2020.06.29)}
+\writestatus{loading}{Code syntax highlighting (ver: 2021.12.13)}
\startmodule [syntax-highlight]
\usemodule [syntax-groups]
\usemodule [filter] % loads module-catcodes
-\unprotect
+\unprotectmodulecatcodes
\startinterface all
\setinterfaceconstant {syntax} {syntax}
@@ -256,7 +256,7 @@
\def\syntaxhighlighting at namespace {\????syntaxhighlighting}
\def\syntaxhighlighting at name {\currentsyntaxhighlighting}
-\protect
+\protectmodulecatcodes
\stopmodule
Modified: trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkxl
===================================================================
--- trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkxl 2021-12-14 21:22:56 UTC (rev 61300)
+++ trunk/Master/texmf-dist/tex/context/third/vim/t-syntax-highlight.mkxl 2021-12-14 21:23:34 UTC (rev 61301)
@@ -1,6 +1,6 @@
%D \module
%D [ file=t-syntax-highlight,
-%D version=2021.05.31,
+%D version=2021.12.13,
%D title=\CONTEXT\ User Module,
%D subtitle=Code syntax highlighting,
%D author=Aditya Mahajan,
@@ -9,13 +9,13 @@
%D email=adityam <at> ieee <dot> org,
%D license=Simplified BSD License]
-\writestatus{loading}{Code syntax highlighting (ver: 2021.05.31)}
+\writestatus{loading}{Code syntax highlighting (ver: 2021.12.13)}
\startmodule [syntax-highlight]
\usemodule [syntax-groups]
\usemodule [filter] % loads module-catcodes
-\unprotect
+\unprotectmodulecatcodes
\startinterface all
\setinterfaceconstant {syntax} {syntax}
@@ -257,7 +257,7 @@
\def\syntaxhighlighting at namespace {\????syntaxhighlighting}
\def\syntaxhighlighting at name {\currentsyntaxhighlighting}
-\protect
+\protectmodulecatcodes
\stopmodule
More information about the tex-live-commits
mailing list.