diff --git a/lua/neogen/configurations/rust.lua b/lua/neogen/configurations/rust.lua index fdee5bb..c9bc6b6 100644 --- a/lua/neogen/configurations/rust.lua +++ b/lua/neogen/configurations/rust.lua @@ -91,9 +91,9 @@ return { { nil, "/ $1", { type = { "func", "class" } } }, { nil, "/", { type = { "class", "func" } } }, - { "field_identifier", "/ * %s: $1", { type = { "class" } } }, - { "type_identifier", "/ * %s: $1", { type = { "func" } } }, - { "identifier", "/ * %s: $1", { type = { "func" } } }, + { "field_identifier", "/ * `%s`: $1", { type = { "class" } } }, + { "type_identifier", "/ * `%s`: $1", { type = { "func" } } }, + { "identifier", "/ * `%s`: $1", { type = { "func" } } }, }, }, }