From 10675d427e37ec22e0a08b333b0052c9119b4b3c Mon Sep 17 00:00:00 2001 From: danymat Date: Mon, 10 Jan 2022 16:05:41 +0100 Subject: [PATCH] feat(rust) Update `alternative` template --- lua/neogen/configurations/rust.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" } } }, }, }, }