Skip to content

Unable to disable root_folder_label #1907

@Yohnny777

Description

@Yohnny777

Description

Setting renderer.root_folder_label to an empty string or any string doesn't show it but instead falls back to full path like "C:\Users\user\project`.

Setting it to ':h' also falls back to full absolute path instead of short.

Neovim version

0.8.2

Operating system and version

Windows 10, Terminal

nvim-tree version

master

Minimal config

any

Steps to reproduce

  1. set renderer.root_folder_label to "", "My label" or ":h"

Expected behavior

Label is equal to the string or just directory name for ":h" instead of entire absolute path

Actual behavior

its always absolute path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions