mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
fix(lsp): fix some type annotations (#22397)
This commit is contained in:

committed by
GitHub

parent
db32d312ac
commit
c1514d7e67
@@ -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,
|
||||
|
Reference in New Issue
Block a user