highlights(haskell): don't match True|False in other identifiers

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Co-authored-by:  Guillaume Bouchard <guibou@users.noreply.github.com>
This commit is contained in:
Stephan Seitz 2023-01-14 23:23:54 +01:00
parent e4042553bd
commit 372177fb99

View file

@ -144,7 +144,7 @@
(constructor) @constructor
; True or False
((constructor) @_bool (#match? @_bool "(True|False)")) @boolean
((constructor) @boolean (#any-of? @boolean "True" "False"))
;; ----------------------------------------------------------------------------