2015-02-22 11:03:46 +00:00
|
|
|
;;; config.el --- Haskell Layer configuration File for Spacemacs
|
|
|
|
;;
|
2016-01-12 02:40:54 +00:00
|
|
|
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
2015-02-22 11:03:46 +00:00
|
|
|
;;
|
|
|
|
;; Author: Bjarke Vad Andersen <bjarke.vad90@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
|
|
|
;; Variables
|
2015-04-01 02:24:01 +00:00
|
|
|
|
2016-05-01 15:41:38 +00:00
|
|
|
(setq haskell-modes '(haskell-mode literate-haskell-mode))
|
|
|
|
|
2015-04-09 03:57:22 +00:00
|
|
|
(spacemacs|defvar-company-backends haskell-mode)
|
2015-05-28 12:57:51 +00:00
|
|
|
(spacemacs|defvar-company-backends haskell-cabal-mode)
|
2016-06-10 16:53:07 +00:00
|
|
|
(spacemacs|defvar-company-backends intero-repl-mode)
|
2015-04-09 03:57:22 +00:00
|
|
|
|
2016-09-05 02:29:41 +00:00
|
|
|
(spacemacs|define-jump-handlers haskell-mode haskell-mode-jump-to-def-or-tag)
|
|
|
|
|
2016-07-04 02:34:58 +00:00
|
|
|
(defvar haskell-completion-backend 'ghci
|
2016-06-10 16:53:07 +00:00
|
|
|
"Completion backend used by company.
|
|
|
|
Available options are `ghci', `intero' and `ghc-mod'. Default is
|
|
|
|
`ghci'.")
|
2015-02-23 18:16:47 +00:00
|
|
|
|
2015-03-15 16:23:26 +00:00
|
|
|
(defvar haskell-enable-hindent-style nil
|
2015-09-08 12:16:23 +00:00
|
|
|
"Style to use for formatting with hindent; available are: fundamental johan-tibell chris-done gibiansky. If nil hindent is disabled.")
|