Fix fillchars for diffview

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

View File

@ -16,3 +16,5 @@ vim.opt.completeopt = "menu,menuone,noinsert,noselect"
-- Window decorations -- Window decorations
vim.opt.title = true vim.opt.title = true
vim.opt.titlestring = "%{substitute(getcwd(),$HOME,'~','')} - Neovim" vim.opt.titlestring = "%{substitute(getcwd(),$HOME,'~','')} - Neovim"
vim.opt.fillchars:append({ diff = "" })

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.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.o.foldlevelstart = 99 vim.o.foldlevelstart = 99
vim.o.foldenable = true 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 -- Using ufo provider need remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
vim.keymap.set("n", "zR", function() vim.keymap.set("n", "zR", function()
require("ufo").openAllFolds() require("ufo").openAllFolds()