feat(highlights): some haskell improvements

This commit is contained in:
Marc Jakobi 2023-09-24 20:51:16 +02:00 committed by Christian Clason
parent 73fbc807eb
commit f3fb301b26

View file

@ -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