aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_rust.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_rust.lua')
-rw-r--r--plugins/language_rust.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index 3a0d6b8..3732fef 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -10,9 +10,8 @@ syntax.add {
{ pattern = { "/%*", "%*/" }, type = "comment" },
{ pattern = { 'r#"', '"#', '\\' }, type = "string" },
{ pattern = { '"', '"', '\\' }, type = "string" },
- { pattern = { "`", "`", '\\' }, type = "string" },
- { pattern = "'%a*[>%s:]", type = "keyword2"},
- { pattern = "'*'", type = "string" },
+ { pattern = "'.'", type = "string" },
+ { pattern = "'%a", type = "keyword2" },
{ pattern = "0[oO_][0-7]+", type = "number" },
{ pattern = "-?0x[%x_]+", type = "number" },
{ pattern = "-?%d+_%d", type = "number" },