Add syntax highlighting for character literals in Haskell, PureScript, and Zig (#22609)

Closes #22480

Release Notes:

- N/A

| Before | After |
|----------|----------|
| <img width="344" alt="before"
src="https://github.com/user-attachments/assets/37f8daf7-c9a0-4259-8c03-bd1a4479abca"
/> | <img width="344" alt="after"
src="https://github.com/user-attachments/assets/0f7e4429-e48b-4b32-9797-a0da8487e23e"
/> |

Zig, Haskel, and PureScript define a character caputure name in
`highlights.scm`, but we did not define a color for that capture name in
the themes. The new character color is the same as the string color in
all themes.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
Nils Koch 2025-01-03 21:51:43 +01:00 committed by GitHub
parent 04518b11bc
commit a1ef1d3f76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@
(integer) @number
(exp_negation) @number
(exp_literal (float)) @float
(char) @character
(char) @string
(string) @string
(con_unit) @symbol ; unit, as in ()

View file

@ -18,7 +18,7 @@
(integer) @number
(exp_negation) @number
(exp_literal (number)) @float
(char) @character
(char) @string
[
(string)
(triple_quote_string)

View file

@ -249,7 +249,7 @@
; Literals
(character) @character
(character) @string
([
(string)