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:
everdrone 2025-02-21 16:26:52 +01:00 committed by GitHub
parent 3c4903c6bf
commit 1fb4620a90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 4 deletions

View file

@ -11,6 +11,9 @@
[
(true)
(false)
] @boolean
[
(null)
] @constant