mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -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
|
] @operator
|
||||||
|
|
||||||
(module) @namespace
|
(qualified_module (module) @constructor)
|
||||||
|
(qualified_type (module) @namespace)
|
||||||
|
(qualified_variable (module) @namespace)
|
||||||
|
(import (module) @namespace)
|
||||||
|
|
||||||
[
|
[
|
||||||
(where)
|
(where)
|
||||||
|
|
@ -133,6 +136,8 @@
|
||||||
(exp_apply . (exp_name (variable) @function.call))
|
(exp_apply . (exp_name (variable) @function.call))
|
||||||
(exp_apply . (exp_name (qualified_variable (variable) @function.call)))
|
(exp_apply . (exp_name (qualified_variable (variable) @function.call)))
|
||||||
|
|
||||||
|
("@" @namespace) ; "as" pattern operator, e.g. x@Constructor
|
||||||
|
|
||||||
|
|
||||||
;; ----------------------------------------------------------------------------
|
;; ----------------------------------------------------------------------------
|
||||||
;; Types
|
;; Types
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue