mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:b1392bee701d
runtime(doc): document that the diff filetype uses Diff hl groups
related: vim/vim#13776
b1392bee70
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
39ea076f2f
commit
166b4284c8
@ -1224,7 +1224,7 @@ To highlight KDE-reserved features, set >
|
||||
g:desktop_enable_kde follows g:desktop_enable_nonstd if not supplied
|
||||
|
||||
|
||||
DIFF *diff.vim*
|
||||
DIFF *diff.vim* *ft-diff-syntax*
|
||||
|
||||
The diff highlighting normally finds translated headers. This can be slow if
|
||||
there are very long lines in the file. To disable translations: >
|
||||
@ -1233,7 +1233,15 @@ there are very long lines in the file. To disable translations: >
|
||||
|
||||
Also see |diff-slow|.
|
||||
|
||||
Since the Vim 9.1 release the diff filetype links the diffAdded,
|
||||
diffRemoved and diffChanged highlighting groups to |hl-DiffAdd|,
|
||||
|hl-DiffDelete| and |hl-DiffChange| by default. If you do not want this, you
|
||||
can change it to the previous groups like this in your |vimrc| >
|
||||
|
||||
hi link diffRemoved Special
|
||||
hi link diffChanged PreProc
|
||||
hi link diffAdded Identifier
|
||||
<
|
||||
DIRCOLORS *dircolors.vim* *ft-dircolors-syntax*
|
||||
|
||||
The dircolors utility highlighting definition has one option. It exists to
|
||||
|
Loading…
Reference in New Issue
Block a user