mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
Improve readability of C language constants (#283)
Improve readability of C language constants
To improve the readability of C language constants, defined by the
`cConstant` syntax highlighting group [1], these are now colored with
`nord9` for the foreground to make them stand out. This is important in
C, since interesting things are usually happening in their proximity,
like checking/returning an error, passing particular values/flags to
functions and so on.
[1]: 0e6adf8a29/runtime/syntax/c.vim (L313-L375)
Co-authored-by: Arctic Ice Studio <development@arcticicestudio.com>
Co-authored-by: Sven Greb <development@svengreb.de>
GH-283
This commit is contained in:
parent
2df7a984d6
commit
5970582dc4
|
|
@ -366,6 +366,7 @@ hi! link awkVariables Identifier
|
|||
call s:hi("cIncluded", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
hi! link cOperator Operator
|
||||
hi! link cPreCondit PreCondit
|
||||
hi! link cConstant Type
|
||||
|
||||
call s:hi("cmakeGeneratorExpression", s:nord10_gui, "", s:nord10_term, "", "", "")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue