aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-10-24 10:31:34 +0100
committerLewis Russell <lewis6991@gmail.com>2024-10-24 10:53:03 +0100
commit3275ae830da97ef907ff3cfb0170706b6a430f57 (patch)
tree2cf4a9ae6e306900497abefd56f2aa525344a745 /runtime/lua/vim/lsp/protocol.lua
parent2ee39b7eb46f091bf22dd1ba3066afff51139bdd (diff)
downloadrneovim-3275ae830da97ef907ff3cfb0170706b6a430f57.tar.gz
rneovim-3275ae830da97ef907ff3cfb0170706b6a430f57.tar.bz2
rneovim-3275ae830da97ef907ff3cfb0170706b6a430f57.zip
fix(lsp.protocal): improve typing of constants
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 1699fff0c1..b299a8438f 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -12,6 +12,8 @@ end
local sysname = vim.uv.os_uname().sysname
+--- @class vim.lsp.protocol.constants
+--- @nodoc
local constants = {
--- @enum lsp.DiagnosticSeverity
DiagnosticSeverity = {
@@ -314,7 +316,9 @@ local constants = {
},
}
--- Protocol for the Microsoft Language Server Protocol (mslsp)
+--- Protocol for the Microsoft Language Server Protocol (mslsp)
+--- @class vim.lsp.protocol : vim.lsp.protocol.constants
+--- @nodoc
local protocol = {}
--- @diagnostic disable:no-unknown