chore(build): auto-generate vimdoc, schemas and annotations

This commit is contained in:
github-actions[bot] 2025-10-17 01:30:46 +00:00
parent 8786f12ca2
commit 0089570322
2 changed files with 23 additions and 0 deletions

View File

@ -1028,6 +1028,23 @@
"boolean"
]
},
"reportSelfClsDefault": {
"default": "none",
"description": "Diagnostics for providing a default value for a `self` or `cls` parameter",
"enum": [
"none",
"hint",
"information",
"warning",
"error",
true,
false
],
"type": [
"string",
"boolean"
]
},
"reportSelfClsParameterName": {
"default": "warning",
"description": "Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.",

View File

@ -565,6 +565,12 @@
-- default = "error"
-- ```
---@field reportReturnType "none" | "hint" | "information" | "warning" | "error" | true | false
-- Diagnostics for providing a default value for a `self` or `cls` parameter
--
-- ```lua
-- default = "none"
-- ```
---@field reportSelfClsDefault "none" | "hint" | "information" | "warning" | "error" | true | false
-- Diagnostics for a missing or misnamed “self” parameter in instance methods and “cls” parameter in class methods. Instance methods in metaclasses (classes that derive from “type”) are allowed to use “cls” for instance methods.
--
-- ```lua