Skip to content

Disable git integration for specific paths (i.e. $HOME)? #1837

Closed
@alex-courtis

Description

@alex-courtis

Discussed in #1834

Originally posted by NiklasKappel December 18, 2022
My $HOME is a git repository that manages my dotfiles. Necessarily, that repository contains a huge number of mostly untracked files. This causes performance issues with nvim-tree. If I run nvim from my home directory, there is a significant delay when I run nvim-tree itself or open any file after that. The delay goes away if I disable the nvim-tree git integration entirely or if I start nvim in a different, smaller git repo.

Is there a way to disable the nvim-tree git integration for a specific path such as /home/asdf/, but keep the feature enabled for smaller, regular repos?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions