spacemacs/contrib/lang/clojure/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

33 lines
1.1 KiB
EmacsLisp

;;; config.el --- Clojure Layer configuration File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; ---------------------------------------------------------------------------
;; Prefixes
;; ---------------------------------------------------------------------------
;; Variables
(spacemacs|defvar-company-backends cider-mode)
(spacemacs|defvar-company-backends cider-repl-mode)
(defvar clojure-enable-fancify-symbols nil
"If non nil the `fancify-symbols' function is enabled.")
;; not supported for now
;; (setq clojure/key-binding-prefixes '(("md" . "documentation")
;; ("me" . "evaluation")
;; ("mg" . "goto")
;; ("mr" . "refactor")
;; ("mt" . "test")))
;; (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
;; clojure/key-binding-prefixes)