Add default value for template

This commit is contained in:
Daniel Mathiot
2021-08-27 21:19:19 +02:00
parent 2c9936781f
commit 1d97f1415e
3 changed files with 24 additions and 7 deletions

View File

@@ -118,10 +118,10 @@ return {
emmylua = {
{ nil, "- $1", { type = { "class", "func" } } }, -- add this string only on requested types
{ nil, "- $1", { no_results = true } }, -- Shows only when there's no results from the granulator
{ "parameters", "- @param %s any $1" },
{ "vararg", "- @vararg any $1" },
{ "return_statement", "- @return any $1" },
{ "class_name", "- @class any $1" },
{ "parameters", "- @param %s $1|any" },
{ "vararg", "- @vararg $1|any" },
{ "return_statement", "- @return $1|any" },
{ "class_name", "- @class $1|any" },
{ "type", "- @type %s $1" },
},
},