mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(haskell): use grammar for operator detection instead of match
This commit is contained in:
parent
15b3416cc1
commit
8aada0e394
1 changed files with 1 additions and 2 deletions
|
|
@ -228,8 +228,7 @@
|
||||||
((module) @module
|
((module) @module
|
||||||
(variable) @function.call))
|
(variable) @function.call))
|
||||||
]
|
]
|
||||||
(operator) @_op
|
operator: (operator))
|
||||||
(#match? @_op "^[^:].*"))
|
|
||||||
|
|
||||||
; infix operators applied to variables
|
; infix operators applied to variables
|
||||||
((expression/variable) @variable
|
((expression/variable) @variable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue