diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-01-09 17:36:46 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-01-11 16:24:12 +0000 |
commit | 2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91 (patch) | |
tree | 06884cc40b3f6e7c0dd47f4018c8ba0f671ba610 /runtime/lua/vim/_system.lua | |
parent | a767c046f4e6bff1412269d56a8edfe33857d954 (diff) | |
download | rneovim-2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91.tar.gz rneovim-2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91.tar.bz2 rneovim-2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91.zip |
fix(doc): improve doc generation of types using lpeg
Added a lpeg grammar for LuaCATS and use it in lua2dox.lua
Diffstat (limited to 'runtime/lua/vim/_system.lua')
-rw-r--r-- | runtime/lua/vim/_system.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_system.lua b/runtime/lua/vim/_system.lua index 9279febddf..9e935b7e95 100644 --- a/runtime/lua/vim/_system.lua +++ b/runtime/lua/vim/_system.lua @@ -1,6 +1,6 @@ local uv = vim.uv ---- @class SystemOpts +--- @class vim.SystemOpts --- @field stdin? string|string[]|true --- @field stdout? fun(err:string?, data: string?)|false --- @field stderr? fun(err:string?, data: string?)|false @@ -302,7 +302,7 @@ end --- Run a system command --- --- @param cmd string[] ---- @param opts? SystemOpts +--- @param opts? vim.SystemOpts --- @param on_exit? fun(out: vim.SystemCompleted) --- @return vim.SystemObj function M.run(cmd, opts, on_exit) |