zen-mode.nvim
zen-mode.nvim copied to clipboard
Zenmode overwrites vim.o.fillchars
I have in my init.lua
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:ï‘ ]]
zen-mode.nvim overwrites this.
How can I keep my setting active in :ZenMode?
Following works only until I change the buffer
use {
"folke/zen-mode.nvim",
config = function()
require("zen-mode").setup {
options = {
-- signcolumn = "no", -- disable signcolumn
-- number = false, -- disable number column
-- relativenumber = false, -- disable relative numbers
-- cursorline = false, -- disable cursorline
-- cursorcolumn = false, -- disable cursor column
foldcolumn = "9", -- disable fold column
-- list = false, -- disable whitespace characters
},
on_open = function(win)
win.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:ï‘ ]]
end,
}
end
}