diff --git a/README.md b/README.md index 2a1945b6..d1b85acc 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ These are the default bindings: -- default mappings local list = { { key = {"", "o", "<2-LeftMouse>"}, action = "edit" }, - { key = {"O"}, action = tree_cb("edit_no_picker") }, + { key = {"O"}, action = "edit_no_picker" }, { key = {"<2-RightMouse>", ""}, action = "cd" }, { key = "", action = "vsplit" }, { key = "", action = "split" }, diff --git a/doc/nvim-tree-lua.txt b/doc/nvim-tree-lua.txt index 301fd2a4..667c041f 100644 --- a/doc/nvim-tree-lua.txt +++ b/doc/nvim-tree-lua.txt @@ -579,7 +579,7 @@ Defaults to: lua <", "o", "<2-LeftMouse>"}, action = "edit" }, - { key = {"O"}, action = tree_cb("edit_no_picker") }, + { key = {"O"}, action = "edit_no_picker" }, { key = {"<2-RightMouse>", ""}, action = "cd" }, { key = "", action = "vsplit" }, { key = "", action = "split" },