Skip to content

Commit 47b8d1b

Browse files
authored
docs(custom-command): typo call function (#641)
1 parent 2e8d1ba commit 47b8d1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/neo-tree.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ You probably want #2:
424424
<
425425
..or
426426
>
427-
local print_me = functions(state)
427+
local print_me = function(state)
428428
local node = state.tree:get_node()
429429
print(node.name)
430430
end
@@ -445,7 +445,7 @@ You probably want #2:
445445
require("neo-tree").setup({
446446
filesystem = {
447447
commands = {
448-
print_me = functions(state)
448+
print_me = function(state)
449449
local node = state.tree:get_node()
450450
print(node.name)
451451
end

0 commit comments

Comments
 (0)