fix(lua) Ldoc annotation was not annotating in class

This commit is contained in:
danymat
2022-01-09 14:35:53 +01:00
parent f6181fa824
commit ded4838eaf

View File

@@ -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" },
}, },