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/+frameworks/emberjs/packages.el
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00

79 lines
2.3 KiB
EmacsLisp

;;; packages.el --- emberjs layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
;;
;; Author: Robert O'Connor <robby.oconnor@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;;; Commentary:
;;; Code:
(defconst emberjs-packages
'(
ember-mode
ember-yasnippets
))
(defun emberjs/init-ember-mode ()
(use-package ember-mode
:defer t
:config
(spacemacs/declare-prefix-for-mode 'ember-mode "f" "framework")
(spacemacs/declare-prefix-for-mode 'ember-mode "fd" "destroy")
(spacemacs/declare-prefix-for-mode 'ember-mode "ff" "find")
(spacemacs/declare-prefix-for-mode 'ember-mode "fg" "generate")
(spacemacs/declare-prefix-for-mode 'ember-mode "fr" "run")
(spacemacs/set-leader-keys-for-minor-mode 'ember-mode
;; Destroy
"fdc" 'ember-destroy-controller
"fdm" 'ember-destroy-model
"fdo" 'ember-destroy-router
"fdp" 'ember-destroy-component
"fdr" 'ember-destroy-route
"fdj" 'ember-destroy-javascript
"fdt" 'ember-destroy-template
"fdx" 'ember-destroy-mixin
"fdi" 'ember-destroy-initializer
"fdu" 'ember-destroy-util
"fds" 'ember-destroy-service
"fdd" 'ember-destroy
;; Find
"ffc" 'ember-open-controller
"ffm" 'ember-open-model
"ffo" 'ember-open-router
"ffp" 'ember-open-component
"ffr" 'ember-open-route
"ffj" 'ember-open-javascript
"fft" 'ember-open-template
"ffx" 'ember-open-mixin
"ffi" 'ember-open-initializer
"ffu" 'ember-open-util
"ffs" 'ember-open-service
;; Generate
"fgc" 'ember-generate-controller
"fgm" 'ember-generate-model
"fgo" 'ember-generate-router
"fgp" 'ember-generate-component
"fgr" 'ember-generate-route
"fgj" 'ember-generate-javascript
"fgt" 'ember-generate-template
"fgx" 'ember-generate-mixin
"fgi" 'ember-generate-initializer
"fgu" 'ember-generate-util
"fgs" 'ember-generate-service
"fgg" 'ember-generate
;; Run
"frb" 'ember-build
"frs" 'ember-serve-or-display
"frt" 'ember-test)))
(defun emberjs/init-ember-yasnippets ()
(use-package ember-yasnippets
:defer t))
;;; packages.el ends here