Function: haskell-ts--fontify-type
haskell-ts--fontify-type is a natively compiled function defined in
haskell-ts-mode.el.
Signature
(haskell-ts--fontify-type NODE &optional _ _ _)
Source Code
;; Defined in /nix/store/84k99g1lc4gz6zw2djcsyzr9zviz842h-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-ts-mode-1.3.5/haskell-ts-mode.el
(defun haskell-ts--fontify-type (node &optional _ _ _)
(let ((last-child (treesit-node-child node -1)))
(if (string= (treesit-node-type last-child) "function")
(haskell-ts--fontify-type last-child)
(put-text-property
(treesit-node-start last-child)
(treesit-node-end last-child)
'face 'font-lock-variable-name-face))))