2015-02-22 11:03:46 +00:00
|
|
|
;;; config.el --- Haskell Layer configuration File for Spacemacs
|
|
|
|
;;
|
2018-01-04 07:00:25 +00:00
|
|
|
;; Copyright (c) 2012-2018 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))
|
|
|
|
|
2016-09-05 02:29:41 +00:00
|
|
|
(spacemacs|define-jump-handlers haskell-mode haskell-mode-jump-to-def-or-tag)
|
|
|
|
|
2019-09-30 04:49:44 +00:00
|
|
|
(defvar haskell-completion-backend nil
|
2016-06-10 16:53:07 +00:00
|
|
|
"Completion backend used by company.
|
2019-09-30 04:49:44 +00:00
|
|
|
Available options are `ghci', `intero', `dante', `lsp' and `ghc-mod'.
|
|
|
|
If `nil' then `ghci' is the default backend unless `lsp' layer is used.")
|
2015-02-23 18:16:47 +00:00
|
|
|
|
2018-01-04 09:25:11 +00:00
|
|
|
(defvar haskell-enable-hindent nil
|
|
|
|
"Formatting with hindent; If t hindent is enabled.")
|