diff options
| author | 2017-10-31 11:17:10 +0100 | |
|---|---|---|
| committer | 2017-10-31 11:17:10 +0100 | |
| commit | 93f29c07f3f5c10d9858260b31aec57e93d854f1 (patch) | |
| tree | e22f1263412fa815959cecb0ec6e52cbc1d61fb9 /colors | |
| parent | af01167b71c2c7401d88570aeb8a1bb2d083b2ad (diff) | |
| download | nord-vim-93f29c07f3f5c10d9858260b31aec57e93d854f1.tar.gz | |
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
Diffstat (limited to 'colors')
| -rwxr-xr-x | colors/nord.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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, "", "", "") |