6b33031dc5
- Rename contrib directory to layers - Add new variable dotspacemacs-distribution - Move spacemacs layer to layers/!distribution - New layer spacemacs-core in layers/!distribution - User can now set dotspacemacs-distribution to spacemacs or spacemacs-core (default spacemacs) spacemacs-core is very lightweight layer sufficient to build upon spacemacs.
23 lines
720 B
EmacsLisp
23 lines
720 B
EmacsLisp
;;; config.el --- Javascript 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
|
|
|
|
;; Variables
|
|
|
|
(spacemacs|defvar-company-backends js2-mode)
|
|
|
|
|
|
(setq javascript/key-binding-prefixes '(("mh" . "documentation")
|
|
("mg" . "goto")
|
|
("mr" . "refactor")))
|
|
(mapc (lambda (x) (spacemacs/declare-prefix-for-mode
|
|
'js2-mode (car x) (cdr x)))
|
|
javascript/key-binding-prefixes)
|