diff options
| author | jdhao <jdhao@hotmail.com> | 2021-10-23 20:32:33 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-10-23 20:32:33 +0800 |
| commit | f1ab285f11736d8e00a3ecbe7b1837abb2df0c1b (patch) | |
| tree | 57f78cea849fd03566f4e7b776e5c45c1c3c5a1e /core | |
| parent | f56e2670304c662cd744e573ab50791f038c7328 (diff) | |
update diffopt
Use historgram diff algorithm, which semes better at showing code
changes.
Diffstat (limited to 'core')
| -rw-r--r-- | core/options.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/options.vim b/core/options.vim index 0b39b70..b62691a 100644 --- a/core/options.vim +++ b/core/options.vim @@ -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 "} |
