From 3cb8f1b9cf5f052d983595c791de87bf015a54ed Mon Sep 17 00:00:00 2001 From: edwloef Date: Sat, 1 Mar 2025 00:58:28 +0100 Subject: [PATCH] add syntax highlighting for rust i128, u128, f16, f128 --- runtime/syntax/rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/rust.yaml b/runtime/syntax/rust.yaml index ba59565b34..9c7aef2ce3 100644 --- a/runtime/syntax/rust.yaml +++ b/runtime/syntax/rust.yaml @@ -19,7 +19,7 @@ rules: # Traits/Enums/Structs/Types/etc. - type: "\\b[A-Z]+[a-zA-Z_0-9]*[a-z]+[a-zA-Z_0-9]*\\b" # Builtin types that start with lowercase. - - type: "\\b(bool|str|isize|usize|((i|u)(8|16|32|64))|f32|f64)\\b" + - type: "\\b(bool|str|((i|u)(8|16|32|64|128|size))|f(16|32|64|128))\\b" - constant.string: start: "[bc]?\""