ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Custom color schemes in t-vim
@ 2020-05-14 10:42 Nicola
  2020-05-14 15:44 ` Aditya Mahajan
  0 siblings, 1 reply; 13+ messages in thread
From: Nicola @ 2020-05-14 10:42 UTC (permalink / raw)
  To: ntg-context

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-05-18  5:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 10:42 Custom color schemes in t-vim Nicola
2020-05-14 15:44 ` Aditya Mahajan
2020-05-16 11:34   ` Nicola
2020-05-16 14:46     ` Aditya Mahajan
2020-05-16 15:03       ` Aditya Mahajan
2020-05-16 19:24         ` Nicola
2020-05-17  0:42           ` Aditya Mahajan
2020-05-17  6:36             ` Aditya Mahajan
2020-05-17  7:41               ` Aditya Mahajan
2020-05-17  8:34                 ` Nicola
2020-05-17 10:27                   ` Nicola
2020-05-17 15:21                   ` Aditya Mahajan
2020-05-18  5:30                   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).