Fix fillchars for diffview
This commit is contained in:
parent
9276359397
commit
811432dacd
@ -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 = "╱" })
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user