File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2398,18 +2398,17 @@ e.g. the following are functionally identical: >lua
23982398 Please do not mutate the contents of any Node object.
23992399
24002400 Fields: ~
2401- • {type} (`" file" |" directory" |" link" ` ) see | uv.fs_stat() |
2402- {type}
24032401 • {absolute_path} (`string ` ) of the file or directory
2402+ • {name} (`string ` ) file or directory name
2403+ • {parent} ? (`nvim_tree.api.DirectoryNode` ) parent directory,
2404+ nil for root
2405+ • {type} (`" file" |" directory" |" link" ` ) | uv.fs_stat() | {type}
24042406 • {executable} (`boolean ` ) file is executable
24052407 • {fs_stat}? (`uv.fs_stat.result` ) at time of last tree display,
24062408 see | uv.fs_stat() |
24072409 • {git_status} (`nvim_tree.git.Status?` ) for files and directories
2408- • {hidden} (`boolean ` ) node is not visible in the tree
2409- • {name} (`string ` ) file or directory name
2410- • {parent} ? (`nvim_tree.api.DirectoryNode` ) parent directory,
2411- nil for root
24122410 • {diag_severity}? (`lsp .DiagnosticSeverity` ) diagnostic status
2411+ • {hidden} (`boolean ` ) node is not visible in the tree
24132412
24142413*nvim_tree.git.Status*
24152414 Git statuses for a single node.
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ local function open_or_expand_or_dir_up(mode, toggle_group)
113113 local dir = node :as (DirectoryNode )
114114
115115 if root or node .name == " .." then
116- actions . root . change_dir . fn (" .." )
116+ wrap_explorer ( " change_dir" ) (" .." )
117117 elseif dir then
118118 dir :expand_or_collapse (toggle_group )
119119 elseif not toggle_group then
You can’t perform that action at this time.
0 commit comments