(lua) Add ldoc annotation convention
This commit is contained in:
@@ -124,5 +124,11 @@ return {
|
||||
{ "class_name", "- @class $1|any" },
|
||||
{ "type", "- @type %s $1" },
|
||||
},
|
||||
ldoc = {
|
||||
{ nil, "- $1", { no_results = true, type = { "func" } } },
|
||||
{ nil, "- $1", { type = { "func" } } },
|
||||
{ "parameters", " @tparam $1|any %s " },
|
||||
{ "return_statement", " @treturn $1|any" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user