chadtree
chadtree copied to clipboard
linenumers disappears
I lost the line numbers in my file buffer.

Steps to reproduce
- In a tab you have two windows, one for a file buffer and another one for the CHADTree.
- Close the file buffer
- Open a file, using CHADTree
Have this happen to me also; it resets cursorline & scrolloff too
For me it stops happening if I explicitly set the chadtree_settings.view.window.options like this:
local chadtree_settings = {
theme = { icon_glyph_set = 'ascii' },
view = { window_options = {
cursorline = true,
number = false,
relativenumber = false,
signcolumn = "no",
winfixwidth = true,
}
}
}
vim.api.nvim_set_var("chadtree_settings", chadtree_settings)