Mercurial > vim
comparison runtime/syntax/diff.vim @ 34019:f1aa701c8900
runtime(diff): Update default links (#13776)
Commit: https://github.com/vim/vim/commit/00b470052b71ca10d663186d99683e8379b21154
Author: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Date: Wed Dec 27 19:51:43 2023 +0200
runtime(diff): Update default links (https://github.com/vim/vim/issues/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: #13759
Signed-off-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 27 Dec 2023 19:00:08 +0100 |
parents | 4027cefc2aab |
children | d6b9d567433f |
comparison
equal
deleted
inserted
replaced
34018:d81556766132 | 34019:f1aa701c8900 |
---|---|
376 hi def link diffDiffer Constant | 376 hi def link diffDiffer Constant |
377 hi def link diffBDiffer Constant | 377 hi def link diffBDiffer Constant |
378 hi def link diffIsA Constant | 378 hi def link diffIsA Constant |
379 hi def link diffNoEOL Constant | 379 hi def link diffNoEOL Constant |
380 hi def link diffCommon Constant | 380 hi def link diffCommon Constant |
381 hi def link diffRemoved Special | 381 hi def link diffRemoved DiffDelete |
382 hi def link diffChanged PreProc | 382 hi def link diffChanged DiffChange |
383 hi def link diffAdded Identifier | 383 hi def link diffAdded DiffAdd |
384 hi def link diffLine Statement | 384 hi def link diffLine Statement |
385 hi def link diffSubname PreProc | 385 hi def link diffSubname PreProc |
386 hi def link diffComment Comment | 386 hi def link diffComment Comment |
387 | 387 |
388 let b:current_syntax = "diff" | 388 let b:current_syntax = "diff" |