0c6682cbd1
It is important to define the buffer local backend variables in a config.el otherwise it is not available in the layer configuration if the auto-completion layer is removed. There were also some issues by hiding the explicit configuration of company inside a macro, for instance helm-spacemacs is unable to display the company package configured in a given layer if the auto-completion layer is removed.
15 lines
396 B
EmacsLisp
15 lines
396 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)
|