mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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:
parent
e4042553bd
commit
372177fb99
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@
|
|||
(constructor) @constructor
|
||||
|
||||
; True or False
|
||||
((constructor) @_bool (#match? @_bool "(True|False)")) @boolean
|
||||
((constructor) @boolean (#any-of? @boolean "True" "False"))
|
||||
|
||||
|
||||
;; ----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue