          ("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
  (nix-indent-function #'nix-indent-line))

(use-package helm
  :bind (("M-x" . helm-M-x)
         ("C-x C-f" . helm-find-files)
         ("C-x b" . helm-buffers-list)
         ("C-x f" . helm-recentf)
         ("M-y" . helm-show-kill-ring))
  :diminish (helm-mode)
  :custom
  (helm-buffers-fuzzy-matching t))

(use-package inf-ruby
  :hook (ruby-mode . inf-ruby-minor-mode))

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


(declare-function hindent-reformat-buffer "hindent" ())

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