Skip to content

Add an option to modify tree padding/indentation #2023

@charbelnicolas

Description

@charbelnicolas

I think adding an indent/padding to the tree would be nice.

Describe the solution you'd like

Add an option to modify the padding/indent of children in the tree (components/padding.lua)

function M.get_padding(depth, idx, nodes_number, node, markers) local padding = " "

Describe alternatives you've considered

Editing the source file directly and adding a space " ".

Before:

20230224_174905

After:

20230224_174939

It looks a bit nicer!

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatedQOLQuality Of Life Improvementfeature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions