diff options
Diffstat (limited to 'Master/texmf-dist/doc/context')
-rw-r--r-- | Master/texmf-dist/doc/context/third/vim/VERSION | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/context/third/vim/vim.txt | 26 |
2 files changed, 26 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/context/third/vim/VERSION b/Master/texmf-dist/doc/context/third/vim/VERSION index 9e6f07d186e..cf132c65ea7 100644 --- a/Master/texmf-dist/doc/context/third/vim/VERSION +++ b/Master/texmf-dist/doc/context/third/vim/VERSION @@ -1 +1 @@ -2020.04.25 +2020.04.29 diff --git a/Master/texmf-dist/doc/context/third/vim/vim.txt b/Master/texmf-dist/doc/context/third/vim/vim.txt index 11c17cf59e6..43d55333c4d 100644 --- a/Master/texmf-dist/doc/context/third/vim/vim.txt +++ b/Master/texmf-dist/doc/context/third/vim/vim.txt @@ -543,7 +543,9 @@ after the comma in the options to `\startframedtext` will result in an error. Clearly, `/BTEX ... /ETEX` is not a valid syntax in any language, so if these tags are used outside of a comment region (as is the case in the above example), the code will not compile. So, if the code also needs to run, then -these annotations have to be restricted to the comment region of the code. +these annotations have to be restricted to the comment region of the code or +the output typeset by ConTeXt has to be manually tested for correctness prior +to the release of your document. Although, in practice, the use of both escape mechanisms is restricted to comments, the two mechanism have subtle differences. When using @@ -677,6 +679,28 @@ a different meaning than `option=on`. To avoid confusion, I have made these synonyms. Thus, whenever the documentation says `option=yes`, you may use `option=on`. And vice-versa. One less thing to worry about! +Name (and location) of the VIM executable +----------------------------------------- + +By default, the `t-vim` module calls the program `vim` to do syntax +highlighting. If the `vim` program is not in the `$PATH`, the `vimcommand` +option may be used to specify the compete path of `vim`: + + \setupvimtyping[vimcommand=/path/to/vim] + +This option may also be used to call [Neovim] instead of `vim` to do syntax +highlighting, by either using + + \setupvimtyping[vimcommand=nvim] + +or, if `nvim` is not in the `$PATH`, using + + \setupvimtyping[vimcommand=/path/to/nvim] + +[Neovim]: https://neovim.io/ + +As of 2020.04.29, `nvim` is about 10% faster than `vim`. + A bit of a history ------------------ |