diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 52fc40d..49e5579 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -925,6 +925,27 @@ from myaethon2.core.decorators import ( (auto-init appt) (auto-init avandu) +(stante-after align + ;; Keep these in order. They are each added to the _front_ of the + ;; list and are applied in order. Changing their order will change + ;; the results. + (add-to-list 'align-rules-list + '(css-closing-brace + (regexp . "\\([ \t]*\\)}$") + (group . (1)) + (modes . '(scss-mode css-mode)))) + (add-to-list 'align-rules-list + '(css-colons + (regexp . "[:;]\\([ \t]*\\)") + (group . (1)) + (modes . '(scss-mode css-mode)) + (repeat . t))) + (add-to-list 'align-rules-list + '(css-opening-brace + (regexp . "^[ \t]*[#.a-zA-Z0-9, &-]*[a-zA-Z0-9]\\([ \t]*\\){.*") + (group . (1)) + (modes . '(scss-mode css-mode))))) + (stante-after auto-complete (add-to-list 'ac-modes 'slime-repl-mode))