Frage

When writing a syntax highlighter for vim you can use the following:

highlight link foo      Identifier

However, can I use a custom color, say Grey?

War es hilfreich?

Lösung

Instead of linking to an existing highlight group, you can specify colors (and attributes like bold and italic). See :help highlight-args for details.

:highlight foo  ctermfg=Grey guifg=Grey
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top