Improve syntax highlights (#18728)

Closes #18722

- Replace the `@escape` capture name with `@string.escape` for escape
sequences in Go, Python, Regex, Racket, Ruby, and Scheme.
- Rust
  - Add syntax highlighting for escape sequences. Close #18722
- Fix the issue where `@punctuation.delimiter` is being overwritten by
`@operator`.
  - Add the period (".") to `@punctuation.delimiter`.

Release Notes:

- N/A
This commit is contained in:
狐狸 authored and GitHub committed 2024-10-09 19:25:46 +02:00
1 parent 471852a13b
commit af508ecd2e
7 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@
(comment) @comment
(string) @string
(escape_sequence) @escape
(escape_sequence) @string.escape
[
"("