문제

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?

도움이 되었습니까?

해결책

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top