aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-16 16:13:51 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-16 16:40:25 -0500
commitb83027858af71e5ca976c3b43e0b798c624f5529 (patch)
treebeae2e17ceb60c68e7f421d6ccdd445063a55566 /src/nvim/options.lua
parentda7bb53d995b409208b29a5fd5941075230f1504 (diff)
downloadrneovim-b83027858af71e5ca976c3b43e0b798c624f5529.tar.gz
rneovim-b83027858af71e5ca976c3b43e0b798c624f5529.tar.bz2
rneovim-b83027858af71e5ca976c3b43e0b798c624f5529.zip
vim-patch:8.1.2289: after :diffsplit closing the window does not disable diff
Problem: After :diffsplit closing the window does not disable diff. Solution: Add "closeoff" to 'diffopt' and add it to the default. https://github.com/vim/vim/commit/c8234779790dd873acb88331c50988adf94cc383
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index e96b3f8e02..d20174466d 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -612,7 +612,7 @@ return {
alloced=true,
redraw={'current_window'},
varname='p_dip',
- defaults={if_true={vi="internal,filler"}}
+ defaults={if_true={vi="internal,filler,closeoff"}}
},
{
full_name='digraph', abbreviation='dg',