Skip to content

Commit 146445f

Browse files
authored
fix(command): normalize reveal_file path argument (#1402)
1 parent 120a83e commit 146445f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/neo-tree/command/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ M.execute = function(args)
156156
-- manager.close(args.source)
157157
--end
158158
if do_reveal then
159+
args.reveal_file = utils.normalize_path(args.reveal_file)
159160
handle_reveal(args, state)
160161
else
161162
do_show_or_focus(args, state, force_navigate)

0 commit comments

Comments
 (0)