Fix #4292 If tern binary isn't found, warn the user of missing binary and do not enable tern package(else it makes emacs unresponsive). Allow user to disable missing binary warning via configuration layer variable `javascript-disable-tern-missing-warning`
21 lines
560 B
EmacsLisp
21 lines
560 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)
|
|
|
|
(defvar javascript-disable-tern-port-files t
|
|
"Stops tern from creating tern port files.")
|
|
|
|
(defvar javascript-disable-tern-missing-warning nil
|
|
"If non-nil then disables tern binary missing wanrings.")
|