Skip to content

Apply opts.renderer.icons.padding to arrow icons #3113

Closed
@smchunn

Description

@smchunn

When using devicons where nerd font is not "mono", the glyphs overhang the next character. Because of this an extra space of padding is added. When using nvim-tree in a floating window with winblend(transparency), the glyphs will overhang the character from the underlying window.

Describe the solution you'd like
add opts.renderer.icons.padding to the padding.get_arrows function

Additional context
using default opts.renderer.icons.padding

Image

using U+00A0 (NO-BREAK SPACE) as opts.renderer.icons.padding

Image

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions