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:
1 parent
3c4903c6bf
commit
1fb4620a90
7 files changed
+20
-4
No files matched your search
@@ -95,9 +95,12 @@
|
||||
; Literals
|
||||
|
||||
[
|
||||
(none)
|
||||
(true)
|
||||
(false)
|
||||
] @boolean
|
||||
|
||||
[
|
||||
(none)
|
||||
(ellipsis)
|
||||
] @constant.builtin
|
||||
|
||||
|
||||
Reference in new issue
Block a user