Specify template convention in lua
This commit is contained in:
12
README.md
12
README.md
@@ -139,10 +139,14 @@ generator = nil,
|
||||
|
||||
-- Template to use with the generator. (More on this below)
|
||||
template = {
|
||||
{ nil, "- " },
|
||||
{ "parameters", "- @param %s any" },
|
||||
{ "vararg", "- @vararg any" },
|
||||
{ "return_statement", "- @return any" }
|
||||
-- Which annotation convention to use
|
||||
annotation_convention = "emmylua",
|
||||
emmylua = {
|
||||
{ nil, "- " },
|
||||
{ "parameters", "- @param %s any" },
|
||||
{ "vararg", "- @vararg any" },
|
||||
{ "return_statement", "- @return any" }
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user