mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
fix(lsp.protocal): improve typing of constants
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user