aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-10-24 16:15:06 +0800
committerjdhao <jdhao@hotmail.com>2021-10-24 16:15:06 +0800
commitae9892404826c170353c4c5124fe466b147165d2 (patch)
tree7d656b833d17c325bafed023acebb0b9d9542f2e /core
parent4f752ab2c520a6d11b1f0b8775e156c2f1b495a3 (diff)
update diff option
Diffstat (limited to 'core')
-rw-r--r--core/options.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/options.vim b/core/options.vim
index b62691a..4800474 100644
--- a/core/options.vim
+++ b/core/options.vim
@@ -179,6 +179,7 @@ set isfname-=,
set diffopt=
set diffopt+=vertical " show diff in vertical position
set diffopt+=filler " show filler for deleted lines
+set diffopt+=closeoff " turn off diff when one file window is closed
set diffopt+=context:3 " context for diff
set diffopt+=internal,indent-heuristic,algorithm:histogram
"}