diff options
| author | Luca Papagni <89859659+lu-papagni@users.noreply.github.com> | 2026-03-14 19:06:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-14 19:06:38 +0100 |
| commit | 88a217f57061e5c98c9278bf93b0282e33b3d3bf (patch) | |
| tree | 5b955b77def489fba20dafb2125dbc2d88de32cc /scripts | |
| parent | bot(parsers): update c3, elixir, erlang, fsharp, gitcommit, hyprlang, kotlin,... (diff) | |
| download | nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.tar nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.tar.gz nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.tar.bz2 nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.tar.lz nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.tar.xz nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.tar.zst nvim-treesitter-88a217f57061e5c98c9278bf93b0282e33b3d3bf.zip | |
Show errors on `vim.system` failure (#8552)
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
