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>
This commit is contained in:
zeertzjq
2025-10-12 12:16:14 +08:00
committed by GitHub
parent 2ea7333f64
commit f4e4799f27
8 changed files with 24 additions and 16 deletions

View File

@@ -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