Closed RobertMiguel closed 1 month ago
In the lualine.setup options you have the line:
disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline" },
Remove "NvimTree",
if you want lualine to remain visible when you enter NvimTree
Thank you very much man, thank you it worked!
Another thing I've noticed, you probably want to change the line
return "spaces: " .. vim.api.nvim_buf_get_option(0, "shiftwidth")
and replace it with
return "spaces: " .. vim.api.nvim_get_option_value("shiftwidth", { buf = 0 })
this is because vim.api.nvim_buf_get_option
will soon be deprecated. I just had to change this myself so thought I'd give you the heads up.
When only NvimTree is open, lualina disappears, and only returns when I open a file again. I thought it was NvimTree itself, but I checked and changed some things until the default configuration remained and the problem appeared again, can anyone help me?
My file :
This is the same configuration in the repository.