File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 24
24
25
25
function Explorer :_load (node )
26
26
local cwd = node .link_to or node .absolute_path
27
- local git_statuses = git .load_project_status (cwd )
28
- M .explore (node , git_statuses )
27
+ local git_status = git .load_project_status (cwd )
28
+ M .explore (node , git_status )
29
29
end
30
30
31
31
function Explorer :expand (node )
Original file line number Diff line number Diff line change @@ -60,19 +60,19 @@ local function warn_status(git_status)
60
60
end
61
61
62
62
local function get_icons_ (node )
63
- local git_statuses = explorer_common .get_git_status (node )
64
- if git_statuses == nil then
63
+ local git_status = explorer_common .get_git_status (node )
64
+ if git_status == nil then
65
65
return nil
66
66
end
67
67
68
68
local inserted = {}
69
69
local iconss = {}
70
70
71
- for _ , git_status in pairs (git_statuses ) do
72
- local icons = M .git_icons [git_status ]
71
+ for _ , s in pairs (git_status ) do
72
+ local icons = M .git_icons [s ]
73
73
if not icons then
74
74
if not M .config .highlight_git then
75
- warn_status (git_status )
75
+ warn_status (s )
76
76
end
77
77
return nil
78
78
end
You can’t perform that action at this time.
0 commit comments