mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -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> |
||
|---|---|---|
| .. | ||
| _meta | ||
| async.lua | ||
| config.lua | ||
| health.lua | ||
| indent.lua | ||
| init.lua | ||
| install.lua | ||
| log.lua | ||
| parsers.lua | ||
| util.lua | ||