mirror of
https://github.com/neovim/neovim.git
synced 2025-12-20 13:25:34 +00:00
When `root_dir` is a function it can (and often will) call the provided callback function in a fast API context (e.g. in the `on_exit` handler of `vim.system`). When the callback function is executed we should ensure that it runs vim.lsp.start on the main event loop.