diff --git a/lua/neogen/templates/google_docstrings.lua b/lua/neogen/templates/google_docstrings.lua index 6c6bdad..fb80b6d 100644 --- a/lua/neogen/templates/google_docstrings.lua +++ b/lua/neogen/templates/google_docstrings.lua @@ -18,14 +18,14 @@ return { { i.ArbitraryArgs, " %s: $1", { type = { "func" } } }, { i.Kwargs, " %s: $1", { type = { "func" } } }, { i.ClassAttribute, " %s: $1", { before_first_item = { "", "Attributes: " } } }, - { i.HasThrow, "", { type = { "func" } } }, - { i.HasThrow, "Raises:", { type = { "func" } } }, - { i.Throw, " %s: $1", { type = { "func" } } }, { i.HasReturn, "", { type = { "func" } } }, { i.HasReturn, "Returns:", { type = { "func" } } }, { i.HasReturn, " $1", { type = { "func" } } }, { i.HasYield, "", { type = { "func" } } }, { i.HasYield, "Yields:", { type = { "func" } } }, { i.HasYield, " $1", { type = { "func" } } }, + { i.HasThrow, "", { type = { "func" } } }, + { i.HasThrow, "Raises:", { type = { "func" } } }, + { i.Throw, " %s: $1", { type = { "func" } } }, { nil, '"""' }, }