Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

toml: Add highlight for escape sequences (#18346)

狐狸1f54fde4d233
diff --git a/extensions/toml/languages/toml/highlights.scm b/extensions/toml/languages/toml/highlights.scm
index 04d83b54592..4be265cce74 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