Fix fillchars for diffview

This commit is contained in:
2024-05-20 23:58:39 -04:00
parent 9276359397
commit 811432dacd
2 changed files with 4 additions and 1 deletions

View File

@@ -45,7 +45,8 @@ return {
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.o.foldlevelstart = 99
vim.o.foldenable = true
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
-- disabling since LazyVim already sets this nicely and it was overriding my diff fillchar
-- vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
-- Using ufo provider need remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
vim.keymap.set("n", "zR", function()
require("ufo").openAllFolds()