diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-10 21:00:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-10 21:00:27 +0100 |
commit | c8234779790dd873acb88331c50988adf94cc383 (patch) | |
tree | d3e58b31d9e4593956cd028e4468051ce3d79dfc /src/optiondefs.h | |
parent | 5c6b6187ac51a4d8545e823c1be6cdf70cac8a57 (diff) |
patch 8.1.2289: after :diffsplit closing the window does not disable diffv8.1.2289
Problem: After :diffsplit closing the window does not disable diff.
Solution: Add "closeoff" to 'diffopt' and add it to the default.
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 05e04064a6..881ec06a5e 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -846,7 +846,8 @@ static struct vimoption options[] = |P_NODUP, #ifdef FEAT_DIFF (char_u *)&p_dip, PV_NONE, - {(char_u *)"internal,filler", (char_u *)NULL} + {(char_u *)"internal,filler,closeoff", + (char_u *)NULL} #else (char_u *)NULL, PV_NONE, {(char_u *)"", (char_u *)NULL} |