Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve git icons on directories #1809

Merged
merged 16 commits into from
Dec 17, 2022
Merged
Prev Previous commit
Next Next commit
fixed crashing when root dir isn't git dir
chomosuke committed Dec 12, 2022

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
commit 627dde9960c2dcc83c70dd873c26f46adbd3e9db
2 changes: 1 addition & 1 deletion lua/nvim-tree/explorer/common.lua
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ local function get_dir_git_status(parent_ignored, status, absolute_path)

return {
file = status.files and status.files[absolute_path],
dir = {
dir = status.dirs and {
direct = status.dirs.direct[absolute_path],
indirect = status.dirs.indirect[absolute_path],
},