We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6aba66 commit a3f256dCopy full SHA for a3f256d
lua/nvim-tree/actions/find-file.lua
@@ -29,7 +29,7 @@ function M.fn(fname)
29
return i
30
end
31
32
- local path_matches = node.nodes and utils.str_find(fname, node.absolute_path..utils.path_separator)
+ local path_matches = node.nodes and vim.startswith(fname, node.absolute_path..utils.path_separator)
33
if path_matches then
34
if not node.open then
35
node.open = true
0 commit comments