aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Julien Voisin <jvoisin@users.noreply.github.com>2022-01-25 22:50:44 +0100
committerGravatar GitHub <noreply@github.com>2022-01-25 22:50:44 +0100
commitb32592eb0842005d1d25de96e3964ccacd537039 (patch)
tree9227b55b2107a56c58e3737933d820632fdd2841
parent3e4e273d79e512fdcc84b00cd176026c1bf149af (diff)
downloadnord-vim-b32592eb0842005d1d25de96e3964ccacd537039.tar.gz
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 <development@arcticicestudio.com> Co-authored-by: Sven Greb <development@svengreb.de> GH-283
-rwxr-xr-xcolors/nord.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index 068dcb4..c28c432 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -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, "", "", "")