From a0c6708237760bbe53197e7fcd80f0e508a11554 Mon Sep 17 00:00:00 2001 From: AltCode Date: Thu, 2 Apr 2026 19:13:39 +0200 Subject: [PATCH] Split highlight capture for special atoms This separates the capture used by boolean and `nil` atoms; they should now be captured by `@boolean` and `@constant.builtin` respectively, like in other languages --- languages/elixir/highlights.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/languages/elixir/highlights.scm b/languages/elixir/highlights.scm index 0edadad..859b8f4 100644 --- a/languages/elixir/highlights.scm +++ b/languages/elixir/highlights.scm @@ -38,11 +38,11 @@ (quoted_keyword) ] @string.special.symbol -; Special atom literals -[ - (boolean) - (nil) -] @constant +; Boolean literals +(boolean) @boolean + +; Nil literal +(nil) @constant.builtin ; Number literals [