Skip to content

Improve git icons on directories #1809

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

Merged
merged 16 commits into from
Dec 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed crashing when root dir isn't git dir
  • Loading branch information
chomosuke committed Dec 12, 2022
commit 627dde9960c2dcc83c70dd873c26f46adbd3e9db
2 changes: 1 addition & 1 deletion lua/nvim-tree/explorer/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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],
},
Expand Down