After executing :Diffoff, foldmethod stays at diff. Can be reproduced as following:
- Open two files in vertical splits, have foldmethod set to
marker
- Switch to visual mode, select lines in both
:Diffthis
- Execute
:Diffoff in both splits
:set foldmethod?
On the side-note, I would be handy to have single command that exits the diff mode and restores the window layout back to what it was.
Tested on nvim v0.10.2
After executing
:Diffoff, foldmethod stays atdiff. Can be reproduced as following:marker:Diffthis:Diffoffin both splits:set foldmethod?On the side-note, I would be handy to have single command that exits the diff mode and restores the window layout back to what it was.
Tested on nvim v0.10.2