 (require 'flycheck)
 (require 'ghc)
 (require 'haskell)
-(require 'haskell-indentation)
 
 (declare-function pjones:prog-mode-hook "../lisp/code.el")
 (declare-function pjones:define-keys-from-hydra "../lisp/functions.el")

  ("C-c C-s" pjones:haskell-sort-imports)
  ("C-c C-t" dante-type-at :color blue))

(define-skeleton pjones:haskell-insert-pragma
  "Add the pragma comment syntax." nil "{-# " _ " #-}")

(defun pjones-haskell-process-wrapper-function (argv)
  "Run Haskell tools through nix-shell by modifying ARGV.
See `haskell-process-wrapper-function' for details."

        end-of-defun-function 'pjones:haskell-end-of-defun)

  ;; Indentation.
  (haskell-indentation-mode -1)
  (structured-haskell-mode)

  (pjones:prog-mode-hook)
  (subword-mode)
  (abbrev-mode)

  ;; Linting and checking:
  (dante-mode)
