Now Spacemacs will ask for layer installation when opening a file with a known file type. The auto-mode-alist entries are added by the file auto-layer.el in the layers directory. Easy insert of forms for lazy initialization can be done with the interactive function configuration-layer//insert-lazy-install-form. Change default value of dotspacemacs-enable-lazy-installation to t.
16 lines
395 B
EmacsLisp
16 lines
395 B
EmacsLisp
;;; packages.el --- nginx layer packages file for Spacemacs.
|
|
;;
|
|
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Nathaniel Waisbrot <code@waisbrot.net>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;;; License: GPLv3
|
|
|
|
(defconst nginx-packages '(nginx-mode))
|
|
|
|
(defun nginx/init-nginx-mode ()
|
|
(use-package nginx-mode :defer t))
|