neo-tree.nvim
neo-tree.nvim copied to clipboard
FEATURE: remove spacing if not using icon
Did you check the docs?
- [X] I have read all the docs.
Is your feature request related to a problem? Please describe.
there is no problem, it is just for aesthetic.
Describe the solution you'd like.
I would like not to using icon and remove 1 space for that character.
see that '>' icon, there is 2 space after that, I have set the config to empty string but there still space occupying that icon place
-- my config
default_component_configs = {
icon = {
folder_closed = "",
folder_open = "",
folder_empty = "",
default = "",
},
}
Describe alternatives you've considered.
No response
Additional Context
No response
Please add it as an option that you can toggle because if you have files with and without icons mixed, it wouldn’t look that good without the spacing
Please add it as an option that you can toggle because if you have files with and without icons mixed, it wouldn’t look that good without the spacing
Feel free to contribute this if you want it. It's not high priority currently, so unless someone else hops on this, it'll wait until/if one of the contributors/maintainers gets around to it
If you don't want to use icons at all, you can just disable the component and then you won't have any extra spaces to worry about:
require 'neo-tree'.setup({
default_component_configs = {
icon = {
enabled = false
}
}
})