Skip to content

Commit ea8f187

Browse files
committed
fix expand
1 parent 7b9c848 commit ea8f187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neo-tree/sources/manager.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ M.get_path_to_reveal = function(include_terminals)
250250
return nil
251251
end
252252

253-
local buf_relpath = vim.fn.expand("%f")
253+
local buf_relpath = vim.fn.expand("%")
254254
if not utils.truthy(buf_relpath) then
255255
return nil
256256
end

0 commit comments

Comments
 (0)