fix(git): git folder fixes and improvements (#1809)
* coding style
* outlined git.show_on_open_dirs behavior
* show some icon on opendir even if show_on_open_dir=false
and show all children's status on parent
* fixed renamed icon not showing
* sorted icons
* removed DU from deleted as file will show up in tree
* fixed update_git_status in reloaders not tested
* fixed Api.git.reload()
Tested update_git_status in reloaders.lua
* sort icon only if not git signcolumn
* fixed crashing when root dir isn't git dir
* made git.show_on_dirs doc more concise
* git_statuses -> git_status for consistency
* explorer/common.lua -> explorer/node.lua
* fixed #1784 conflict
* don't order icons
* Revert "don't order icons"
This reverts commit 23f6276ef7.
This commit is contained in:
@@ -599,7 +599,7 @@ Git integration with icons and colors.
|
||||
Type: `boolean`, Default: `true`
|
||||
|
||||
*nvim-tree.git.show_on_open_dirs*
|
||||
Show status icons on directories that are open.
|
||||
Show status icons of children on directories that are open.
|
||||
Only relevant when `git.show_on_dirs` is `true`.
|
||||
Type: `boolean`, Default: `true`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user