aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/net.lua
diff options
context:
space:
mode:
authorYochem van Rosmalen <git@yochem.nl>2026-04-05 19:11:59 +0200
committerGitHub <noreply@github.com>2026-04-05 13:11:59 -0400
commit398ee83f4f4584322fdc67458a89b5b4c57be49c (patch)
tree94162354a5e4318b82b758ebd8dc60bb836fc49e /runtime/plugin/net.lua
parent3cba8df0412706d5803ac194bb26ba882dcd039d (diff)
downloadrneovim-398ee83f4f4584322fdc67458a89b5b4c57be49c.tar.gz
rneovim-398ee83f4f4584322fdc67458a89b5b4c57be49c.tar.bz2
rneovim-398ee83f4f4584322fdc67458a89b5b4c57be49c.zip
fix(vim.net): check if vim.system's stdout is nil #38713
Problem: Apparently vim.SystemCompleted.stdout can also be nil, even without a custom stdout handler. (Although the docs can be interpreted otherwise). Solution: Explicitly check for nil and set the result body to an empty string if stdout was nil.
Diffstat (limited to 'runtime/plugin/net.lua')
0 files changed, 0 insertions, 0 deletions