80baa130cf
Document how to use the newly introduced variables to enable sayid and clj-refactor. Also update the documentation on adding CIDER-related dependencies. CIDER 0.10 is three years old now, so I think the case where cider middleware isn't injected automatically is getting rare. However there is still a good use case for running your Clojure process outside of Emacs/CIDER, meaning you don't get to benefit from `cider-jack-in`'s magic insjections, so I have focused more on that case, adding information for clj-refactor's and sayid's middleware, as well as CIDER's.
27 lines
828 B
EmacsLisp
27 lines
828 B
EmacsLisp
;;; config.el --- Clojure Layer configuration File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2018 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
|
|
|
|
;; Variables
|
|
|
|
(spacemacs|define-jump-handlers clojure-mode)
|
|
(spacemacs|define-jump-handlers clojurec-mode)
|
|
(spacemacs|define-jump-handlers clojurescript-mode)
|
|
(spacemacs|define-jump-handlers clojurex-mode)
|
|
(spacemacs|define-jump-handlers cider-repl-mode)
|
|
|
|
(defvar clojure-enable-fancify-symbols nil
|
|
"If non-nil, the `fancify-symbols' function is enabled.")
|
|
|
|
(defvar clojure-enable-sayid nil
|
|
"If non-nil, the Sayid Clojure debugger is enabled.")
|
|
|
|
(defvar clojure-enable-clj-refactor nil
|
|
"If non-nil, the clj-refactor is enabled.")
|