2015-02-22 11:03:46 +00:00
|
|
|
;;; config.el --- Haskell Layer configuration File for Spacemacs
|
|
|
|
;;
|
2021-03-22 20:11:29 +00:00
|
|
|
;; Copyright (c) 2012-2021 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
|
|
|
|
2020-08-07 13:41:33 +00:00
|
|
|
(setq haskell-modes '(haskell-mode haskell-literate-mode))
|
2016-05-01 15:41:38 +00:00
|
|
|
|
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.
|
2020-08-25 07:38:30 +00:00
|
|
|
Available options are `dante' and `lsp'.
|
|
|
|
If `nil' then `dante' 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.")
|