mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user