spacemacs/contrib/lang/haskell/config.el
syl20bnr 0c6682cbd1 Refactor one more time the auto-completin macros
It is important to define the buffer local backend variables
in a config.el otherwise it is not available in the layer
configuration if the auto-completion layer is removed.
There were also some issues by hiding the explicit
configuration of company inside a macro, for instance
helm-spacemacs is unable to display the company package
configured in a given layer if the auto-completion layer
is removed.
2015-04-09 00:03:51 -04:00

24 lines
630 B
EmacsLisp

;;; config.el --- Haskell Layer configuration File for Spacemacs
;;
;; Copyright (c) 2015 Bjarke Vad Andersen
;;
;; 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
(spacemacs|defvar-company-backends haskell-mode)
(defvar haskell-enable-ghci-ng-support nil
"If non-nil ghci-ng support is enabled")
(defvar haskell-enable-shm-support nil
"If non-nil structured-haskell-mode support is enabled")
(defvar haskell-enable-hindent-style nil
"If non-nil structured-haskell-mode support is enabled")