highlights(elm): fix boolean literals

This commit is contained in:
Ananda Umamil 2023-01-15 04:41:48 +07:00 committed by Stephan Seitz
parent 0b69c4ae52
commit e4042553bd
2 changed files with 2 additions and 1 deletions

View file

@ -181,7 +181,7 @@
(number_literal) @number)
(upper_case_qid
((upper_case_identifier) @_bool (#match? @_bool "(True|False)")) @boolean)
((upper_case_identifier) @boolean (#any-of? @boolean "True" "False")))
[
(open_quote)