fix(lua) Ldoc annotation was not annotating in class
This commit is contained in:
@@ -157,8 +157,9 @@ return {
|
|||||||
{ "type", "- @type $1" },
|
{ "type", "- @type $1" },
|
||||||
},
|
},
|
||||||
ldoc = {
|
ldoc = {
|
||||||
{ nil, "- $1", { no_results = true, type = { "func" } } },
|
{ nil, "- $1", { no_results = true, type = { "func", "class" } } },
|
||||||
{ nil, "- $1", { type = { "func" } } },
|
{ nil, "- $1", { type = { "func", "class" } } },
|
||||||
|
|
||||||
{ "parameters", " @tparam $1|any %s " },
|
{ "parameters", " @tparam $1|any %s " },
|
||||||
{ "return_statement", " @treturn $1|any" },
|
{ "return_statement", " @treturn $1|any" },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user