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:
parent
f56e267030
commit
f1ab285f11
@ -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
|
||||
"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user