add constant.numeric.float.curlywasm _f for hex

This commit is contained in:
Bartek Zbytniewski
2025-04-17 21:27:42 +02:00
parent 44566ce1a3
commit 5e54716007

View File

@@ -103,6 +103,9 @@ contexts:
- match: '\b\d+(_f)\b' - match: '\b\d+(_f)\b'
scope: constant.numeric.float.curlywasm scope: constant.numeric.float.curlywasm
- match: \b0x[0-9a-fA-F]+_f\b
scope: constant.numeric.float.curlywasm
- match: \b([0-9]+\.[0-9]+)\b - match: \b([0-9]+\.[0-9]+)\b
scope: constant.numeric.float.curlywasm scope: constant.numeric.float.curlywasm