diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-16 16:13:51 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-16 16:40:25 -0500 |
commit | b83027858af71e5ca976c3b43e0b798c624f5529 (patch) | |
tree | beae2e17ceb60c68e7f421d6ccdd445063a55566 /src/nvim/options.lua | |
parent | da7bb53d995b409208b29a5fd5941075230f1504 (diff) | |
download | rneovim-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.lua | 2 |
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', |