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:
co-authored by
Marshall Bowers
parent
3c4903c6bf
commit
1fb4620a90
@@ -129,7 +129,7 @@
|
||||
(float_literal)
|
||||
] @number
|
||||
|
||||
(boolean_literal) @constant
|
||||
(boolean_literal) @boolean
|
||||
|
||||
[
|
||||
(line_comment)
|
||||
|
||||
Reference in New Issue
Block a user