aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-06-07 13:52:23 +0100
committerGitHub <noreply@github.com>2023-06-07 13:52:23 +0100
commitc0952e62fd0ee16a3275bb69e0de04c836b39015 (patch)
treeebecfe9f07b4e5d5a306b83a886372da269d38f9 /runtime/lua/vim/shared.lua
parent4ecc71f6fc7377403ed91ae5bc32992a5d08f678 (diff)
downloadrneovim-c0952e62fd0ee16a3275bb69e0de04c836b39015.tar.gz
rneovim-c0952e62fd0ee16a3275bb69e0de04c836b39015.tar.bz2
rneovim-c0952e62fd0ee16a3275bb69e0de04c836b39015.zip
feat(lua): add `vim.system()`
feat(lua): add vim.system() Problem: Handling system commands in Lua is tedious and error-prone: - vim.fn.jobstart() is vimscript and comes with all limitations attached to typval. - vim.loop.spawn is too low level Solution: Add vim.system(). Partly inspired by Python's subprocess module Does not expose any libuv objects.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions