File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -627,13 +627,17 @@ end, { desc = 'Diff against main/master' })
627627 backgrounds for changed lines plus fine - grained highlights for the exact
628628 characters that differ .
629629 - diffchar .vim works with diffview out of the box . Install the plugin and open
630- a diff — no additional configuration is needed . You may want to disable
631- diffchar ' s default keymaps (`<leader>g`, `<leader>p`) if they conflict with
632- your mappings :
630+ a diff — no additional configuration is needed . You may want to enable
631+ visual indicators next to deleted characters to get VSCode - style
632+ character - level diffs , or disable diffchar ' s default keymaps (`<leader>g`,
633+ ` <leader>p` ) if they conflict with your mappings :
633634 ` ` ` lua
634635 {
635636 ' rickhowe/diffchar.vim' ,
636637 config = function ()
638+ -- Use bold/underline on adjacent chars instead of virtual blank columns.
639+ vim .g .DiffDelPosVisible = 1
640+
637641 -- Disable diffchar default keymaps.
638642 -- See: https://github.com/rickhowe/diffchar.vim/issues/21
639643 vim .cmd ([[
You can’t perform that action at this time.
0 commit comments