Files
neovim/runtime
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-09-02 15:20:29 +01:00
2022-08-31 08:08:51 +02:00
2022-09-10 14:54:13 +02:00
2022-09-10 14:54:13 +02:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2022-09-02 15:20:29 +01:00
2014-12-19 15:28:49 -05:00
2022-09-10 14:54:13 +02:00
2022-08-20 10:04:55 +02:00
2019-07-29 20:50:07 +02:00
2021-04-27 09:21:32 -04:00
2019-07-29 20:50:07 +02:00
2022-04-15 13:38:44 +02:00
2022-07-26 11:26:23 +02:00