summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-14 21:23:34 +0000
committerKarl Berry <karl@freefriends.org>2021-12-14 21:23:34 +0000
commit9fb71c20f83ac2ea2861ab2409639afad6794796 (patch)
treea15bb3371f60ade5807a54b4b8e193e74434d433 /Master/texmf-dist/doc/context
parent3904caee850ef79677023f0da6c09d75f2d892a7 (diff)
context-vim (14dec21)
git-svn-id: svn://tug.org/texlive/trunk@61301 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r--Master/texmf-dist/doc/context/third/vim/VERSION2
-rw-r--r--Master/texmf-dist/doc/context/third/vim/vim.txt18
2 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/context/third/vim/VERSION b/Master/texmf-dist/doc/context/third/vim/VERSION
index 1664ef53fc3..207ae307b69 100644
--- a/Master/texmf-dist/doc/context/third/vim/VERSION
+++ b/Master/texmf-dist/doc/context/third/vim/VERSION
@@ -1 +1 @@
-2021.09.05
+2021.12.13
diff --git a/Master/texmf-dist/doc/context/third/vim/vim.txt b/Master/texmf-dist/doc/context/third/vim/vim.txt
index e42a2bdab86..af6bfdb74ae 100644
--- a/Master/texmf-dist/doc/context/third/vim/vim.txt
+++ b/Master/texmf-dist/doc/context/third/vim/vim.txt
@@ -315,8 +315,9 @@ will effect all the listings on that page, _even those defined earlier!_
- 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 @@ of each line:
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.