Closed imroc closed 7 months ago
Same with @imroc, If there any way to unfold all code in diffview by default?
Find it, @imroc, https://github.com/sindrets/diffview.nvim/issues/236, try "foldenable = false"
@gaslight217 Thanks a lot! I use this config and it works for me:
hooks = {
diff_buf_win_enter = function()
vim.opt_local.foldenable = false
end,
},
Everytime I use DIffviewFileHistory to see commit changes, I need to press
zR
to expand all fold to see the complete file content, Is there a way or option can expand all fold by default?