This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/javascript/config.el
2016-01-11 21:42:17 -05:00

25 lines
771 B
EmacsLisp

;;; config.el --- Javascript 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
(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)
(defvar javascript-disable-tern-port-files t
"Stops tern from creating tern port files.")