aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMathias Fussenegger <f.mathias@zignar.net>2023-10-21 09:47:24 +0200
committerMathias Fußenegger <mfussenegger@users.noreply.github.com>2023-10-21 13:49:05 +0200
commit1e10310f4cc70cf95a68457c2be9e7459b5bbba6 (patch)
treeba8fa01ace127ddb75554a66a1ff168bb778f8ce /runtime/doc
parent9971bea6f1380c15c22f5035d1d33d994f8a6ed7 (diff)
downloadrneovim-1e10310f4cc70cf95a68457c2be9e7459b5bbba6.tar.gz
rneovim-1e10310f4cc70cf95a68457c2be9e7459b5bbba6.tar.bz2
rneovim-1e10310f4cc70cf95a68457c2be9e7459b5bbba6.zip
refactor(lsp): move completion logic into _completion module
To reduce cross-chatter between modules and for https://github.com/neovim/neovim/issues/25272 Also preparing for https://github.com/neovim/neovim/issues/25714
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 8a0b144e83..3151a17417 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1719,7 +1719,7 @@ extract_completion_items({result})
• {result} (table) The result of a `textDocument/completion` request
Return: ~
- (table) List of completion items
+ lsp.CompletionItem[] List of completion items
See also: ~
• https://microsoft.github.io/language-server-protocol/specification#textDocument_completion
@@ -2014,7 +2014,7 @@ text_document_completion_list_to_complete_items({result}, {prefix})
• {prefix} (string) the prefix to filter the completion items
Return: ~
- (table) { matches = complete-items table, incomplete = bool }
+ table[] items
See also: ~
• complete-items