Use @boolean for true and false in highlights (#25338)

Release Notes:

- Fixed issue where `true` and `false` were highlighted as constants,
ignoring the `boolean` highlight defined in themes.
  - This fix applies to: C, C++, Go, JSON, JSONC, Python, and Rust.

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
everdroneandMarshall Bowers authored and GitHub committed 2025-02-21 15:26:52 +00:00
1 parent 3c4903c6bf
commit 1fb4620a90
7 files changed
+20 -4

No files matched your search

+4 -1
View File
@@ -95,9 +95,12 @@
; Literals
[
(none)
(true)
(false)
] @boolean
[
(none)
(ellipsis)
] @constant.builtin