9066d073b2
Move the variable definitions to config.el and eval-after-load the key binding on SPC m g g.
23 lines
735 B
EmacsLisp
23 lines
735 B
EmacsLisp
;;; config.el --- Elixir Layer configuration File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2016 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
|
|
|
|
(defvar elixir-enable-compilation-checking nil
|
|
"If non-nil syntax checking is enable for compilation.
|
|
Default is nil because Elixir compilation is based on macros and thus it
|
|
is unsafe. Activate this option only for trusted code, usage of a
|
|
directory variable is recommended.")
|
|
|
|
(spacemacs|defvar-company-backends elixir-mode)
|
|
(spacemacs|defvar-company-backends alchemist-iex-mode)
|
|
|
|
(spacemacs|define-jump-handlers elixir-mode)
|