diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2023-02-25 18:47:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 18:47:05 +0100 |
commit | c1514d7e6762ed62dee027ecc29bafd4aae2206e (patch) | |
tree | 01db147e771a0f11866427c43480f62cdf40e8cd /runtime/lua/vim/lsp/protocol.lua | |
parent | db32d312acd4bee96b3463ff85a6574b5180502d (diff) | |
download | rneovim-c1514d7e6762ed62dee027ecc29bafd4aae2206e.tar.gz rneovim-c1514d7e6762ed62dee027ecc29bafd4aae2206e.tar.bz2 rneovim-c1514d7e6762ed62dee027ecc29bafd4aae2206e.zip |
fix(lsp): fix some type annotations (#22397)
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 12345b6c8c..41dfc9e00e 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -20,14 +20,6 @@ function transform_schema_to_table() end --]=] ----@class lsp.ShowMessageRequestParams ----@field type lsp.MessageType ----@field message string ----@field actions nil|lsp.MessageActionItem[] - ----@class lsp.MessageActionItem ----@field title string - local constants = { DiagnosticSeverity = { -- Reports an error. @@ -60,6 +52,7 @@ local constants = { }, -- The file event type. + ---@enum lsp.FileChangeType FileChangeType = { -- The file got created. Created = 1, |