aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
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/lua/vim/lsp/protocol.lua
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/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 3a1b16c450..7a48c800c6 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -242,6 +242,7 @@ local constants = {
-- Defines whether the insert text in a completion item should be interpreted as
-- plain text or a snippet.
+ --- @enum lsp.InsertTextFormat
InsertTextFormat = {
-- The primary text to be inserted is treated as a plain string.
PlainText = 1,