diff options
| author | Jon Gjengset <jon@thesquareplanet.com> | 2021-09-09 22:17:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-09 19:17:41 -0700 |
| commit | 4f3e59770659c09be1921397ebecd7f384af832f (patch) | |
| tree | 4bb7aeba6a89cea1b31f5bfa3f6c0b63106ccf7d /lua/lspconfig/util.lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| download | nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.tar nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.tar.gz nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.tar.bz2 nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.tar.lz nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.tar.xz nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.tar.zst nvim-lspconfig-4f3e59770659c09be1921397ebecd7f384af832f.zip | |
fix(rust-analyzer): skip stderr for cargo metadata (#1235)
Vim's `system` output includes both STDOUT and STDERR, which means it
may contain all sorts of debug output, especially if the user is using
custom rustup toolchains. This change ignores STDERR output for parsing
the metadata output to fix rust_analyzer in those contexts.
This change also moves to `jobstart`/`jobwait` over `system`, which
avoids pitfalls related to shell argument parsing and escaping, and
allows finer-grained control over output redirection.
Diffstat (limited to 'lua/lspconfig/util.lua')
0 files changed, 0 insertions, 0 deletions
