mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(windows): consistent normalization in fs.find
vim.fs.find(".luacheckrc") ``` c:\\projects\\neovim/.luacheckrc # before c:/projects/neovim/.luacheckrc # after ``` Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
This commit is contained in:
parent
872a534f6e
commit
e826d09c18
@ -216,7 +216,7 @@ function M.find(names, opts)
|
||||
|
||||
---@private
|
||||
local function add(match)
|
||||
matches[#matches + 1] = match
|
||||
matches[#matches + 1] = M.normalize(match)
|
||||
if #matches == limit then
|
||||
return true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user