mirror of https://github.com/folke/neoconf.nvim
chore(build): auto-generate vimdoc, schemas and annotations
This commit is contained in:
parent
8786f12ca2
commit
0089570322
|
|
@ -1028,6 +1028,23 @@
|
||||||
"boolean"
|
"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": {
|
"reportSelfClsParameterName": {
|
||||||
"default": "warning",
|
"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.",
|
"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.",
|
||||||
|
|
|
||||||
|
|
@ -565,6 +565,12 @@
|
||||||
-- default = "error"
|
-- default = "error"
|
||||||
-- ```
|
-- ```
|
||||||
---@field reportReturnType "none" | "hint" | "information" | "warning" | "error" | true | false
|
---@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.
|
-- 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
|
-- ```lua
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue