diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/context/third/vim/vim.txt | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/third/vim/t-vim.tex | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/context/third/vim/vim.txt b/Master/texmf-dist/doc/context/third/vim/vim.txt index 43b02b3942f..fe2f115bc90 100644 --- a/Master/texmf-dist/doc/context/third/vim/vim.txt +++ b/Master/texmf-dist/doc/context/third/vim/vim.txt @@ -255,6 +255,10 @@ If you want every fifth line to be numbered, use Standard options for line numbering ----------------------------------- +**Note**: These options can only be set using `\definevimtyping[...][...]` or +`\setupvimtyping[...][...]`. They do not work when used with +`\start<vimtyping>`. + - To change the color or style of the numbers, use the `numbercolor=...` and `numberstyle=...` options. By default `numbercolor` is not set, while `numberstyle` is set to `\ttx`. 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 daa3da08202..d5c85a1404c 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.04.18, +%D version=2012.05.16, %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.04.18)} +\writestatus{loading}{Vim syntax highlighting (ver: 2012.05.16)} \startmodule [vim] \usemodule [filter] % loads module catcodes @@ -126,8 +126,8 @@ -c "set syntax=\externalfilterparameter\c!syntax" % -c "set tabstop=\externalfilterparameter\c!tab" % % vim only accepts 10 -c commands, so we combine a few let statements - -c "let contextstartline=\externalfilterparameter\c!start | % - let contextstopline=\externalfilterparameter\c!stop | % + -c "let contextstartline=\externalfilterparameter\c!start \letterbar\space % + let contextstopline=\externalfilterparameter\c!stop \letterbar\space % let strip=\getvalue{\vimtyping@id-\c!strip-\externalfilterparameter\c!strip}" % -c "let escapecomments=\getvalue{\vimtyping@id-\c!escape-\externalfilterparameter\c!escape}" % -c "let highlight=[\externalfilterparameter\c!highlight]" % |