File tree 1 file changed +6
-6
lines changed 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -894,12 +894,12 @@ Determines the rendering of hidden files in a folder.
894
894
show: >
895
895
(14 total git: 5, dotfile: 9)
896
896
<
897
- If a function is provided, it receives a table `hidden_count ` where keys are
897
+ If a function is provided, it receives a table `hidden_stats ` where keys are
898
898
reasons and values are the count of hidden files for that reason.
899
899
900
- The `hidden_count ` argument is structured as follows, where <num> is the
900
+ The `hidden_stats ` argument is structured as follows, where <num> is the
901
901
number of hidden files related to the field: >
902
- hidden_count = {
902
+ hidden_stats = {
903
903
bookmark = <num>,
904
904
buf = <num>,
905
905
custom = <num>,
@@ -909,14 +909,14 @@ Determines the rendering of hidden files in a folder.
909
909
}
910
910
<
911
911
Example of function that can be passed: >
912
- function(hidden_count )
912
+ function(hidden_stats )
913
913
local total_count = 0
914
- for reason, count in pairs(hidden_count ) do
914
+ for reason, count in pairs(hidden_stats ) do
915
915
total_count = total_count + count
916
916
end
917
917
918
918
if total_count > 0 then
919
- return "(" .. tostring(total_count) .. " hidden" )"
919
+ return "(" .. tostring(total_count) .. " hidden)"
920
920
end
921
921
return nil
922
922
end
You can’t perform that action at this time.
0 commit comments