   :init-value nil
   :keymap hindent-mode-map
   :lighter " HI"
-  :group 'haskell
+  :group 'hindent
   :require 'hindent
   (if hindent-mode
       (add-hook 'before-save-hook 'hindent--before-save nil t)

(defcustom hindent-reformat-buffer-on-save nil
  "Set to t to run `hindent-reformat-buffer' when a buffer in
`hindent-mode' is saved."
  :group 'haskell
  :safe #'booleanp)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defcustom hindent-indent-size
  2
  "Optionally override the indent size."
  :group 'hindent
  :type '(choice (const :tag "Default: 2" 2)
                 (integer :tag "Override" 4))
  :safe (lambda (val) (or (integerp val) (not val))))
