Skip to content

Commit a005a7f

Browse files
committed
docs: change to hidden_stats
1 parent 6dbbf9d commit a005a7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/nvim-tree-lua.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -894,12 +894,12 @@ Determines the rendering of hidden files in a folder.
894894
show: >
895895
(14 total git: 5, dotfile: 9)
896896
<
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
898898
reasons and values are the count of hidden files for that reason.
899899

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
901901
number of hidden files related to the field: >
902-
hidden_count = {
902+
hidden_stats = {
903903
bookmark = <num>,
904904
buf = <num>,
905905
custom = <num>,
@@ -909,14 +909,14 @@ Determines the rendering of hidden files in a folder.
909909
}
910910
<
911911
Example of function that can be passed: >
912-
function(hidden_count)
912+
function(hidden_stats)
913913
local total_count = 0
914-
for reason, count in pairs(hidden_count) do
914+
for reason, count in pairs(hidden_stats) do
915915
total_count = total_count + count
916916
end
917917
918918
if total_count > 0 then
919-
return "(" .. tostring(total_count) .. " hidden")"
919+
return "(" .. tostring(total_count) .. " hidden)"
920920
end
921921
return nil
922922
end

0 commit comments

Comments
 (0)