From a8ae4ce46ef8a80455fbf42e2fcf3387872ec5e3 Mon Sep 17 00:00:00 2001 From: shaun <512005+a2bb892@users.noreply.github.com> Date: Thu, 12 Dec 2019 11:33:22 -0700 Subject: [PATCH] Update gitcommitSummary color This will update the `gitcommitSummary` color to blue. The `gitcommitSummary` is defined as a Keyword: https://github.com/vim/vim/blob/master/runtime/syntax/gitcommit.vim#L64 In the One Half theme, Keywords are set to be red. The problem with red is when spellchecking is enabled, misspelled words are also set to be red. (Yellow is also not a good choice because there are other spelling-related issues that are set to be yellow.) --- vim/colors/onehalfdark.vim | 1 + vim/colors/onehalflight.vim | 1 + 2 files changed, 2 insertions(+) diff --git a/vim/colors/onehalfdark.vim b/vim/colors/onehalfdark.vim index fb0d7c5..5e89e67 100644 --- a/vim/colors/onehalfdark.vim +++ b/vim/colors/onehalfdark.vim @@ -176,6 +176,7 @@ call s:h("diffRemoved", s:red, "", "") " Git { call s:h("gitcommitComment", s:comment_fg, "", "") +call s:h("gitcommitSummary", s:blue, "", "") call s:h("gitcommitUnmerged", s:red, "", "") call s:h("gitcommitOnBranch", s:fg, "", "") call s:h("gitcommitBranch", s:purple, "", "") diff --git a/vim/colors/onehalflight.vim b/vim/colors/onehalflight.vim index cdfaa42..18c00a8 100644 --- a/vim/colors/onehalflight.vim +++ b/vim/colors/onehalflight.vim @@ -176,6 +176,7 @@ call s:h("diffRemoved", s:red, "", "") " Git { call s:h("gitcommitComment", s:comment_fg, "", "") +call s:h("gitcommitSummary", s:blue, "", "") call s:h("gitcommitUnmerged", s:red, "", "") call s:h("gitcommitOnBranch", s:fg, "", "") call s:h("gitcommitBranch", s:purple, "", "")