[dev-context] CGModules update: vim syntax highlighting version 2020.05.17 published.

modules at contextgarden.net modules at contextgarden.net
Sun May 17 09:40:34 CEST 2020


Aditya Mahajan submitted an update to the

               vim syntax highlighting

package.

Version number: 2020.05.17
License type: BSD License (simplified)
Wants to be in ConTeXt distribution: yes
Wants to be synced with CTAN: yes

Summary description: This module uses Vim editor's syntax files to syntax highlight verbatim code in ConTeXt

Announcement text:
----------------------------------------------------------------------

Minor feature enhancement: export minor groups

The default vim syntax highlighting has two typees of syntax highlighting
groups: preffered groups and minor groups. By default, in `syncolors.vim`, the
minor groups are mapped to preffered groups. This is overridden by most
colorschemes, but since `2context.vim` does not load a colorscheme, we got the
default mapping. As a result, the generated `*.vimout` file only contained the
preffered group. 

In this release, default mappings for all minor groups are added to
`2context.vim`, so the generated `*.vimout` file now contains all the default
group names (both preffered and minor). The minor groups are already mapped to
the appropriate preffered groups in `t-vim`, so this has no visible impact on
any existing code, but it does allow the user to change the mappings of the
minor groups.

Based on a bug report by Nicola on the context mailing list.

----------------------------------------------------------------------



More information about the dev-context mailing list