Skip to content

Commit 69782c8

Browse files
authored
Merge pull request #16 from mrjohannchang/pr-fix-upward-file-find
Fix upward search syntax
2 parents 83bb6d9 + 207a96c commit 69782c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/config-local/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function M.lookup()
9292
end
9393
if config.lookup_parents then
9494
for _, filename in ipairs(files) do
95-
filename = findfile(filename, ";.")
95+
filename = findfile(filename, ".;")
9696
if filename ~= "" then
9797
return vim.fn.fnamemodify(filename, ":p")
9898
end

0 commit comments

Comments
 (0)