From 93f29c07f3f5c10d9858260b31aec57e93d854f1 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 31 Oct 2017 11:17:10 +0100 Subject: Link legacy diff groups for git- and diff syntax The official "git.vim" and "diff.vim" syntax uses different groups for diff: * diffAdded (1) * diffRemoved (1) * diffChanged (2) This commit links these legacy groups to the official documented diff groups. References: (1) https://github.com/vim/vim/search?q=diffAdded+diffRemoved (2) https://github.com/vim/vim/search?q=diffChanged GH-66 --- colors/nord.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/colors/nord.vim b/colors/nord.vim index ef368ab..4e15570 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -306,6 +306,10 @@ else call s:hi("DiffDelete", s:nord11_gui, s:nord1_gui, s:nord11_term, s:nord1_term, "", "") call s:hi("DiffText", s:nord13_gui, s:nord1_gui, s:nord13_term, s:nord1_term, "", "") endif +" Legacy groups for official git.vim and diff.vim syntax +hi! link diffAdded DiffAdd +hi! link diffChanged DiffChange +hi! link diffRemoved DiffDelete call s:hi("gitconfigVariable", s:nord7_gui, "", s:nord7_term, "", "", "") -- cgit v1.2.3-70-g09d2