aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-03-18 10:47:14 +0100
committerJustin M. Keyes <justinkz@gmail.com>2026-03-18 20:40:20 +0100
commit286b78de9bc41ed6e87c720624fa17f80eff0cba (patch)
tree8525365ce4b54bc1a0f39ceb92ea4d4066d07b65 /runtime/lua/vim/lsp.lua
parent7dfb8e349744e1427d6644c0e849d6b583b611ae (diff)
downloadrneovim-286b78de9bc41ed6e87c720624fa17f80eff0cba.tar.gz
rneovim-286b78de9bc41ed6e87c720624fa17f80eff0cba.tar.bz2
rneovim-286b78de9bc41ed6e87c720624fa17f80eff0cba.zip
docs: misc, terminal
Close #38319 Close #38348 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Barrett Ruth <br.barrettruth@gmail.com>
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index aad7958aeb..07af250ef8 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -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