Skip to content

Commit 30c2e3e

Browse files
authored
Split highlight capture for special atoms (#113)
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
1 parent 791a2b8 commit 30c2e3e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

languages/elixir/highlights.scm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
(quoted_keyword)
3939
] @string.special.symbol
4040

41-
; Special atom literals
42-
[
43-
(boolean)
44-
(nil)
45-
] @constant
41+
; Boolean literals
42+
(boolean) @boolean
43+
44+
; Nil literal
45+
(nil) @constant.builtin
4646

4747
; Number literals
4848
[

0 commit comments

Comments
 (0)