aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_rust.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index a8dc017..40aeb5f 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -8,6 +8,7 @@ syntax.add {
patterns = {
{ pattern = "//.-\n", type = "comment" },
{ pattern = { "/%*", "%*/" }, type = "comment" },
+ { pattern = { 'r#"', '"#', '\\' }, type = "string" },
{ pattern = { '"', '"', '\\' }, type = "string" },
{ pattern = { "`", "`", '\\' }, type = "string" },
{ pattern = "0[oO_][0-7]+", type = "number" },