mirror of https://github.com/folke/neoconf.nvim
fix(util): normalize paths returned by `Util.file_patterns` (#35)
Astronvim errors while loading neoconf with neovim v0.10. The issue appears to be the same as: https://github.com/NvChad/NvChad/issues/1832 https://github.com/neovim/neovim/issues/22698 Normalizing the paths eliminates the error, but I haven't done much testing beyond that.
This commit is contained in:
parent
eca677f2ab
commit
7c34c869e6
|
|
@ -96,7 +96,7 @@ function M.file_patterns(opts)
|
|||
end
|
||||
end
|
||||
|
||||
return ret
|
||||
return vim.tbl_map(vim.fs.normalize, ret)
|
||||
end
|
||||
|
||||
---@return { pattern: table<string, string>, filename: table<string, string> }
|
||||
|
|
|
|||
Loading…
Reference in New Issue