Open simonmandlik opened 3 days ago
You are looking for :h 'fillchars'
stl
field
Thanks for the quick reply :)
I know about fillchars
, which works fine for "global" fillchars. However, I can't hide statusline e.g. in NvimTree
buffers
vim.api.nvim_create_autocmd("FileType", {
pattern = "NvimTree",
callback = function()
local set = vim.opt_local
set.fillchars = { stl = " ", stlnc = " " }
-- doesn't work either
-- set.fillchars.stl = " "
-- set.fillchars.stlnc = " "
end
})
Hi, what is the recommended way to fill the rest of statusline with a single character? I know that it is possible to do with spaces, but what if I want to use other character than space?
There are two possible solutions I could think of:
Thanks!