Skip to content

Commit b32592e

Browse files
authored
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]: https://github.com/vim/vim/blob/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471/runtime/syntax/c.vim#L313-L375 Co-authored-by: Arctic Ice Studio <[email protected]> Co-authored-by: Sven Greb <[email protected]> GH-283
1 parent 3e4e273 commit b32592e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

colors/nord.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ hi! link awkVariables Identifier
366366
call s:hi("cIncluded", s:nord7_gui, "", s:nord7_term, "", "", "")
367367
hi! link cOperator Operator
368368
hi! link cPreCondit PreCondit
369+
hi! link cConstant Type
369370

370371
call s:hi("cmakeGeneratorExpression", s:nord10_gui, "", s:nord10_term, "", "", "")
371372

0 commit comments

Comments
 (0)