summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_system.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-10-12 12:16:14 +0800
committerGitHub <noreply@github.com>2025-10-12 12:16:14 +0800
commitf4e4799f2707a41a882fa85c2f1a276d69f08d56 (patch)
tree407f50506fc67a351ddf755c0feb99289d4764ef /runtime/lua/vim/_system.lua
parent2ea7333f64cf3b2acd0ad6ee28cfc3776b8b4510 (diff)
docs: small fixes (#36146)
Close #35989 Close #36031 Close #36107 Co-authored-by: Kieran Moy <kfatyuip@gmail.com> Co-authored-by: William Sprent <william@sprent.dk> Co-authored-by: David Briscoe <43559+idbrii@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/_system.lua')
-rw-r--r--runtime/lua/vim/_system.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_system.lua b/runtime/lua/vim/_system.lua
index 7ff61a1c68..00c362696f 100644
--- a/runtime/lua/vim/_system.lua
+++ b/runtime/lua/vim/_system.lua
@@ -98,10 +98,10 @@ end
--- Example:
--- ```lua
--- local obj = vim.system({'sleep', '10'})
---- obj:kill('TERM') -- sends SIGTERM to the process
+--- obj:kill('sigterm') -- sends SIGTERM to the process
--- ```
---
---- @param signal integer|string Signal to send to the process.
+--- @param signal integer|string Signal to send to the process. See |luv-constants|.
function SystemObj:kill(signal)
self._state.handle:kill(signal)
end