1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update diffopt

Use historgram diff algorithm, which semes better at showing code
changes.
This commit is contained in:
jdhao 2021-10-23 20:32:33 +08:00
parent f56e267030
commit f1ab285f11

View File

@ -174,4 +174,11 @@ set signcolumn=auto:2
" Remove certain character from file name pattern matching
set isfname-==
set isfname-=,
" diff options
set diffopt=
set diffopt+=vertical " show diff in vertical position
set diffopt+=filler " show filler for deleted lines
set diffopt+=context:3 " context for diff
set diffopt+=internal,indent-heuristic,algorithm:histogram
"}