From 1f54fde4d2338730eecd46501688b8e777c7bb5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=90=E7=8B=B8?= <134658521+Huliiiiii@users.noreply.github.com> Date: Thu, 26 Sep 2024 01:29:02 +0800 Subject: [PATCH] toml: Add highlight for escape sequences (#18346) --- extensions/toml/languages/toml/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/toml/languages/toml/highlights.scm b/extensions/toml/languages/toml/highlights.scm index 04d83b5459..4be265cce7 100644 --- a/extensions/toml/languages/toml/highlights.scm +++ b/extensions/toml/languages/toml/highlights.scm @@ -9,9 +9,10 @@ (boolean) @constant (comment) @comment -(string) @string (integer) @number (float) @number +(string) @string +(escape_sequence) @string.escape (offset_date_time) @string.special (local_date_time) @string.special (local_date) @string.special