neo-tree.nvim
neo-tree.nvim copied to clipboard
bug: indent marker disappears with `default_component_configs.indent.padding < 1`
Hi, Thanks for the awesome plugin :)
I found out that when setting the padding to 0, the indent marker on the first indentation (far left) disappears as in the following screenshot. (indent of lua/ in the picture.)
I think it is more intuitive to have it not disappear especially since I hide_root_node = true.
If this is indented, may I kindly ask you to expose some kind of setting that I can change in the setup?
Reproduce
local neotree = require("neo-tree")
neotree.setup({
hide_root_node = true, -- disappears with `false` as well
retain_hidden_root_indent = false,
filesystem = {
follow_current_file = true,
},
default_component_configs = {
indent = {
indent_size = 2,
padding = 0, -- HERE
},
},
})
-
padding = 0(disappears)
-
padding = 1(no problem)
Notes
- neo-tree
- branch:
main - commit: 9f5119a7d47edcb0c30f0c44e6f4580b5101b5f5
- branch:
Details
nvim --version- NVIM v0.8.0-dev+nightly
- Build type: RelWithDebInfo
- LuaJIT 2.1.0-beta3
- Operating system:
5.10.102.1-microsoft-standard-WSL2
Best, @pysan3