Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(lua): add `vim.system()` | Lewis Russell | 2023-06-07 |
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. |