diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-12-27 18:55:47 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-12-28 10:42:09 +0100 |
commit | aece3a7f5f15ce364396a0663c870d53110c6fb5 (patch) | |
tree | ab8e1754e2feaaa97ada167456a1671ed394de5f | |
parent | 714b075197c02d27d5c05133759ae97bed279b50 (diff) | |
download | rneovim-aece3a7f5f15ce364396a0663c870d53110c6fb5.tar.gz rneovim-aece3a7f5f15ce364396a0663c870d53110c6fb5.tar.bz2 rneovim-aece3a7f5f15ce364396a0663c870d53110c6fb5.zip |
vim-patch:00b470052b71
runtime(diff): Update default links (vim/vim#13776)
Problem: Current default links for `diffAdded`, `diffChanged`, and
`diffRemoved` do not address the diff nature of the filetype.
Solution: Use `DiffAdd`, `DiffChange`, and `DiffDelete`.
closes: vim/vim#13759
https://github.com/vim/vim/commit/00b470052b71ca10d663186d99683e8379b21154
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
-rw-r--r-- | runtime/syntax/diff.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/diff.vim b/runtime/syntax/diff.vim index 4cadf5dae8..b5c3f5ecbb 100644 --- a/runtime/syntax/diff.vim +++ b/runtime/syntax/diff.vim @@ -378,9 +378,9 @@ hi def link diffBDiffer Constant hi def link diffIsA Constant hi def link diffNoEOL Constant hi def link diffCommon Constant -hi def link diffRemoved Special -hi def link diffChanged PreProc -hi def link diffAdded Identifier +hi def link diffRemoved DiffDelete +hi def link diffChanged DiffChange +hi def link diffAdded DiffAdd hi def link diffLine Statement hi def link diffSubname PreProc hi def link diffComment Comment |