          ("C-M-n" . magit-rtm-down)
          ("C-M-p" . magit-rtm-up)))
 
+(use-package forge
+  :after magit)
+
 (use-package whitespace
   :defer 5
   :bind (("C-c w" . global-whitespace-mode))

;;   :custom
;;   (intero-global-mode 1))

(defun my-haskell-mode-before-save-hook ()
  (when (eq major-mode 'haskell-mode)
    (hindent-reformat-buffer)))

(global-font-lock-mode t)
(setq inhibit-splash-screen t)

(defun nixfmt ()
  "Run nixfmt on current buffer."
  (interactive)
  ()
  (save-buffer)
  (shell-command (concat "nixfmt " (buffer-file-name)))
  (revert-buffer t t t))

;;; Post initialization

(unless noninteractive
