mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Problem: `vim.system` throws an error when `uv.spawn` fails, in particular when `cmd` or `cwd` does not exist. This kills the coroutine, which makes the corresponding async call hang. Solution: Wrap `vim.system` in a function that catches any error and returns it as `stderr` in a `SystemObj`. Co-authored-by: Christian Clason <c.clason@uni-graz.at> |
||
|---|---|---|
| .. | ||
| nvim-treesitter | ||