From 493890b87a81dfe6a7e577dbc364ae33fa482da9 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Wed, 11 Mar 2026 17:24:03 -0700 Subject: [PATCH] feat(textproto): punctuation and string escape highlights --- runtime/queries/textproto/highlights.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/runtime/queries/textproto/highlights.scm b/runtime/queries/textproto/highlights.scm index 527af0398..f4d355ce2 100644 --- a/runtime/queries/textproto/highlights.scm +++ b/runtime/queries/textproto/highlights.scm @@ -6,6 +6,18 @@ (number) @number +"-" @operator + +[ + ":" + ";" + "," + "." + "/" +] @punctuation.delimiter + +(string_escape) @string.escape + ; For stuff like "inf" and "-inf". (scalar_value [