diff --git a/lua/neogen/configurations/rust.lua b/lua/neogen/configurations/rust.lua index e605e0c..f494f21 100644 --- a/lua/neogen/configurations/rust.lua +++ b/lua/neogen/configurations/rust.lua @@ -27,7 +27,7 @@ return { retrieve = "first", node_type = "identifier", extract = true, - i.Parameter, + as = i.Parameter, }, }, }, @@ -35,7 +35,7 @@ return { retrieve = "all", node_type = "type_identifier", extract = true, - as = i.Tparam, + as = i.Parameter, }, }, }, diff --git a/lua/neogen/templates/rust_alternative.lua b/lua/neogen/templates/rust_alternative.lua index cc970a5..8e562c1 100644 --- a/lua/neogen/templates/rust_alternative.lua +++ b/lua/neogen/templates/rust_alternative.lua @@ -9,6 +9,5 @@ return { { nil, "/ $1", { type = { "func", "class" } } }, { nil, "/", { type = { "class", "func" } } }, { i.Parameter, "/ * `%s`: $1", { type = { "class" } } }, - { i.Tparam, "/ * `%s`: $1", { type = { "func" } } }, { i.Parameter, "/ * `%s`: $1", { type = { "func" } } }, }