Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add syntax highlighting for character literals in Haskell, PureScript, and Zig (#22609)
Nils Kocha1ef1d3f769c
diff --git a/extensions/haskell/languages/haskell/highlights.scm b/extensions/haskell/languages/haskell/highlights.scmindex aca744f5cd5..3ffc6512b8f 100644--- a/extensions/haskell/languages/haskell/highlights.scm+++ b/extensions/haskell/languages/haskell/highlights.scm@@ -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 ()diff --git a/extensions/purescript/languages/purescript/highlights.scm b/extensions/purescript/languages/purescript/highlights.scmindex b6e969af788..fe2db3115d0 100644--- a/extensions/purescript/languages/purescript/highlights.scm+++ b/extensions/purescript/languages/purescript/highlights.scm@@ -18,7 +18,7 @@(integer) @number(exp_negation) @number(exp_literal (number)) @float-(char) @character+(char) @string[(string)(triple_quote_string)diff --git a/extensions/zig/languages/zig/highlights.scm b/extensions/zig/languages/zig/highlights.scmindex 20c256eb634..c4be851e88c 100644--- a/extensions/zig/languages/zig/highlights.scm+++ b/extensions/zig/languages/zig/highlights.scm@@ -249,7 +249,7 @@; Literals-(character) @character+(character) @string([(string)