mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +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:
@@ -728,9 +728,12 @@ when the right mouse button is pressed, if 'mousemodel' is set to popup or
|
||||
popup_setpos.
|
||||
|
||||
The default "PopUp" menu is: >vim
|
||||
anoremenu PopUp.Go\ to\ definition <Cmd>lua vim.lsp.buf.definition()<CR>
|
||||
amenu PopUp.Open\ in\ web\ browser gx
|
||||
anoremenu PopUp.Inspect <Cmd>Inspect<CR>
|
||||
anoremenu PopUp.Go\ to\ definition <Cmd>lua vim.lsp.buf.definition()<CR>
|
||||
anoremenu PopUp.Show\ Diagnostics <Cmd>lua vim.diagnostic.open_float()<CR>
|
||||
anoremenu PopUp.Show\ All\ Diagnostics <Cmd>lua vim.diagnostic.setqflist()<CR>
|
||||
anoremenu PopUp.Configure\ Diagnostics <Cmd>help vim.diagnostic.config()<CR>
|
||||
anoremenu PopUp.-1- <Nop>
|
||||
vnoremenu PopUp.Cut "+x
|
||||
vnoremenu PopUp.Copy "+y
|
||||
|
@@ -4510,11 +4510,12 @@ SystemObj:kill({signal}) *SystemObj:kill()*
|
||||
|
||||
Example: >lua
|
||||
local obj = vim.system({'sleep', '10'})
|
||||
obj:kill('TERM') -- sends SIGTERM to the process
|
||||
obj:kill('sigterm') -- sends SIGTERM to the process
|
||||
<
|
||||
|
||||
Parameters: ~
|
||||
• {signal} (`integer|string`) Signal to send to the process.
|
||||
• {signal} (`integer|string`) Signal to send to the process. See
|
||||
|luv-constants|.
|
||||
|
||||
SystemObj:wait({timeout}) *SystemObj:wait()*
|
||||
Waits for the process to complete or until the specified timeout elapses.
|
||||
|
@@ -219,7 +219,7 @@ HIGHLIGHTS
|
||||
• |hl-DiffTextAdd| highlights added text within a changed line.
|
||||
• |hl-OkMsg| |hl-StderrMsg| |hl-StdoutMsg|
|
||||
• |hl-SnippetTabstopActive| highlights the currently active tabstop.
|
||||
• |hl-PmenuBorder |hl-PmenuShadow| |hl-PmenuShadowThrough| see 'pumborder'.
|
||||
• |hl-PmenuBorder| |hl-PmenuShadow| |hl-PmenuShadowThrough| see 'pumborder'.
|
||||
|
||||
LSP
|
||||
|
||||
@@ -302,7 +302,7 @@ OPTIONS
|
||||
• 'winborder' "bold" style, custom border style.
|
||||
• |g:clipboard| accepts a string name to force any builtin clipboard tool.
|
||||
• 'busy' sets a buffer "busy" status. Indicated in the default statusline.
|
||||
• 'pumborder' add a border to the popup menu.
|
||||
• 'pumborder' adds a border to the popup menu.
|
||||
|
||||
PERFORMANCE
|
||||
|
||||
|
@@ -5355,10 +5355,10 @@ NormalFloat Normal text in floating windows.
|
||||
*hl-FloatBorder*
|
||||
FloatBorder Border of floating windows.
|
||||
*hl-FloatShadow*
|
||||
FloatShadow Blended areas when border is shadow.
|
||||
FloatShadow Blended areas when border is "shadow".
|
||||
*hl-FLoatShadowThrough*
|
||||
FloatShadownThrough
|
||||
shadow corners when border is shadow.
|
||||
FloatShadowThrough
|
||||
Shadow corners when border is "shadow".
|
||||
*hl-FloatTitle*
|
||||
FloatTitle Title of floating windows.
|
||||
*hl-FloatFooter*
|
||||
@@ -5390,10 +5390,10 @@ PmenuMatchSel Popup menu: Matched text in selected item. Combined with
|
||||
*hl-PmenuBorder*
|
||||
PmenuBorder Popup menu: border of popup menu.
|
||||
*hl-PmenuShadow*
|
||||
PmenuShadow Popup menu: blended areas when 'pumborder' is shadow.
|
||||
PmenuShadow Popup menu: blended areas when 'pumborder' is "shadow".
|
||||
*hl-PmenuShadowThrough*
|
||||
PmenuShadownThrough
|
||||
Popup menu: shadow corners when 'pumborder' is shadow.
|
||||
PmenuShadowThrough
|
||||
Popup menu: shadow corners when 'pumborder' is "shadow".
|
||||
*hl-ComplMatchIns*
|
||||
ComplMatchIns Matched text of the currently inserted completion.
|
||||
*hl-PreInsert*
|
||||
|
@@ -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