   (setq whitespace-action '(auto-cleanup))
   (setq whitespace-style '(trailing space-before-tab indentation empty space-after-tab))
   (setq coffee-tab-width 2)
-  (add-hook 'coffee-mode-hook 'whitespace-mode))
+  :hook (coffee-mode-hook whitespace-mode))
 
 ;; python
 ;; Python's flying circus support for Emacs

  :defer t
  :config
  ;; Run prog mode hooks for bibtex
  (add-hook 'bibtex-mode-hook (lambda () (run-hooks 'prog-mode-hook)))

  ;; Use a modern BibTeX dialect
  (bibtex-set-dialect 'biblatex))

;; reftex
;; TeX cross-reference management

(use-package diff-hl
  :config
  (global-diff-hl-mode t)
  :hook (magit-post-refresh-hook . diff-hl-magit-post-refresh))

;; treemacs
;; A tree style file explorer package
