docs: misc, terminal

Close #38319
Close #38348

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Barrett Ruth <br.barrettruth@gmail.com>
This commit is contained in:
Justin M. Keyes
2026-03-18 10:47:14 +01:00
parent 7dfb8e3497
commit 286b78de9b
7 changed files with 27 additions and 20 deletions

View File

@@ -1332,8 +1332,8 @@ end
---@param base integer findstart=0, text to match against
---
---@return integer|table Decided by {findstart}:
--- - findstart=0: column where the completion starts, or -2 or -3
--- - findstart=1: list of matches (actually just calls |complete()|)
--- - findstart=1: column where the completion starts, or -2 or -3
--- - findstart=0: list of matches (actually just calls |complete()|)
function lsp.omnifunc(findstart, base)
return vim.lsp.completion._omnifunc(findstart, base)
end