summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-30 21:27:30 +0000
committerKarl Berry <karl@freefriends.org>2020-04-30 21:27:30 +0000
commit8731099968c37c17c6a916dcb3100922e73a70e1 (patch)
tree50972c85378690a5af7cd1ed1588068d28b30d81 /Master/texmf-dist/tex/context
parentba2ad222a172400f15825d72cb6ddfb485657237 (diff)
context-vim (30apr20)
git-svn-id: svn://tug.org/texlive/trunk@54949 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r--Master/texmf-dist/tex/context/third/vim/t-vim.tex16
1 files changed, 9 insertions, 7 deletions
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 eb0adbfe7b0..4f1bd78b287 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=2020.04.25,
+%D version=2020.04.29,
%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: 2020.04.25)}
+\writestatus{loading}{Vim syntax highlighting (ver: 2020.04.29)}
\startmodule [vim]
\usemodule [filter] % loads module catcodes
@@ -17,6 +17,7 @@
\startinterface all
\setinterfaceconstant {vimrc} {vimrc}
+ \setinterfaceconstant {vimcommand} {vim\c!command}
\stopinterface
\unprotectmodulecatcodes
@@ -112,15 +113,15 @@
{\def\vimtyping@script_name{kpse:2context.vim}}}
\def\vimtyping@filter_command
- {vim -u \vimrc_filename\space % read global config file
+ {\externalfilterparameter\c!vimcommand\space
+ -u \vimrc_filename\space % read global config file
% --startuptime log
% -V3log
-X % dont connect to X server
-i NONE % dont use viminfo file
--noplugin % dont load plugins
- -e % run in ex mode
- -s % silent
- -C % set compatible
+ -es % run in ex mode in silent
+ % -C % set compatible
-n % no swap file
-c "syntax manual" % don't load filetype detection
-c "set syntax=\externalfilterparameter\c!syntax" %
@@ -157,7 +158,8 @@
\setvalue{\vimtyping@id-\c!escape-\v!yes}{1}
\setupvimtyping
- [% \c!tab=4,
+ [\c!vimcommand={vim},
+ % \c!tab=4,
% \c!start=1,
% \c!stop=0,
% \c!syntax=context,