diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index df0fcedb29..eb1c0ec733 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -2295,11 +2295,7 @@ get({opts}) *vim.lsp.inline_completion.get()* if not vim.lsp.inline_completion.get() then return '' end - end, { - expr = true, - replace_keycodes = true, - desc = 'Get the current inline completion', - }) + end, { expr = true, desc = 'Accept the current inline completion' }) < Parameters: ~ diff --git a/runtime/lua/vim/lsp/inline_completion.lua b/runtime/lua/vim/lsp/inline_completion.lua index cdddeab3cb..07f46f343a 100644 --- a/runtime/lua/vim/lsp/inline_completion.lua +++ b/runtime/lua/vim/lsp/inline_completion.lua @@ -439,11 +439,7 @@ end --- if not vim.lsp.inline_completion.get() then --- return '' --- end ---- end, { ---- expr = true, ---- replace_keycodes = true, ---- desc = 'Get the current inline completion', ---- }) +--- end, { expr = true, desc = 'Accept the current inline completion' }) --- ```` ---@param opts? vim.lsp.inline_completion.get.Opts ---@return boolean `true` if a completion was applied, else `false`.