mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(highlights): some haskell improvements
This commit is contained in:
parent
73fbc807eb
commit
f3fb301b26
1 changed files with 6 additions and 1 deletions
|
|
@ -77,7 +77,10 @@
|
|||
"@"
|
||||
] @operator
|
||||
|
||||
(module) @namespace
|
||||
(qualified_module (module) @constructor)
|
||||
(qualified_type (module) @namespace)
|
||||
(qualified_variable (module) @namespace)
|
||||
(import (module) @namespace)
|
||||
|
||||
[
|
||||
(where)
|
||||
|
|
@ -133,6 +136,8 @@
|
|||
(exp_apply . (exp_name (variable) @function.call))
|
||||
(exp_apply . (exp_name (qualified_variable (variable) @function.call)))
|
||||
|
||||
("@" @namespace) ; "as" pattern operator, e.g. x@Constructor
|
||||
|
||||
|
||||
;; ----------------------------------------------------------------------------
|
||||
;; Types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue