[NTG-context] Custom color schemes in t-vim

Nicola nvitacolonna at gmail.com
Thu May 14 12:42:47 CEST 2020


Quick question: Is \startcolorscheme... \stopcolorscheme (still)
supported by t-vim?

In a template I wrote long time ago to typeset code, I have:

    \usemodule[vim]
    \unprotect
    \startcolorscheme[oceansunset]
      \definesyntaxgroup[Comment][\c!color={colortwo},\c!style=italic]
      % etc.
    \stopcolorscheme
    \protect

which I use as described in the wiki:

    \definevimtyping
         [...]
         [...
          alternative=oceansunset,
          ...]

But that does not seem to have any effect (if I change the colors, the
syntax highlighting does not change). I can use pscolor and
blackandwhite, though. I see that \startcolorscheme is not documented,
so maybe there is another mechanism?

Nicola



More information about the ntg-context mailing list