mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
fix(haskell): highlighting for operator definition and operator-like constructors.
This commit is contained in:
parent
c872ec85cc
commit
15b3416cc1
1 changed files with 4 additions and 2 deletions
|
|
@ -227,7 +227,9 @@
|
|||
(qualified
|
||||
((module) @module
|
||||
(variable) @function.call))
|
||||
])
|
||||
]
|
||||
(operator) @_op
|
||||
(#match? @_op "^[^:].*"))
|
||||
|
||||
; infix operators applied to variables
|
||||
((expression/variable) @variable
|
||||
|
|
@ -246,7 +248,7 @@
|
|||
(function
|
||||
(infix
|
||||
left_operand: [
|
||||
(variable) @variable
|
||||
(variable) @variable.parameter
|
||||
(qualified
|
||||
((module) @module
|
||||
(variable) @variable))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue