nvim-tree / nvim-tree/nvim-tree.lua
An option to control weather change root_folder when root_folder be clicked.
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 8.6k
- Forks
- 639
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Description
Discussed in https://github.com/nvim-tree/nvim-tree.lua/discussions/2697
Originally posted by Sologala March 8, 2024
Is there any configrationes to disable the response of root_folder's clicking?
I just set renderer.root_folder_label = false to unrender the root_folder in tree view.
But that is not what i want. I want that that tree show the current root_folder but it will not respond to any operation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked discussion at github.com/nvim-tree/nvim-tree.lua/discussions/2697 and trace the root-folder click handling in the plugin. Done means the current root folder remains visible while its click no longer triggers the requested operation, with behavior controlled by a configuration option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100