From ae9892404826c170353c4c5124fe466b147165d2 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 24 Oct 2021 16:15:06 +0800 Subject: [PATCH] update diff option --- core/options.vim | 1 + 1 file changed, 1 insertion(+) 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 "}