Files
neovim/runtime/lua/vim
Mathias Fußenegger a8c9e721d9 feat(fs): extend fs.find to accept predicate (#20193)
Makes it possible to use `vim.fs.find` to find files where only a
substring is known.
This is useful for `vim.lsp.start` to get the `root_dir` for languages
where the project-file is only known by its extension, not by the full
name.
For example in .NET projects there is usually a `<projectname>.csproj`
file in the project root.

Example:

    vim.fs.find(function(x) return vim.endswith(x, '.csproj') end, { upward = true })
2022-09-13 14:16:20 -06:00
..
2022-08-03 09:47:16 +08:00
2022-05-09 16:31:55 +02:00
2022-05-09 16:31:55 +02:00
2022-05-09 16:31:55 +02:00