aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-07-09 20:03:50 -0700
committerGravatar Tom Willemse2018-07-09 20:03:50 -0700
commit4f0a9c75e1b8256c134d7211da34722b6c55694a (patch)
tree8b22fbbea982704e087992a6cea482d384583acc /emacs/.emacs.d
parentd5c07e813e9ec3f81692b72d521db8baa09bf530 (diff)
downloadnew-dotfiles-4f0a9c75e1b8256c134d7211da34722b6c55694a.tar.gz
new-dotfiles-4f0a9c75e1b8256c134d7211da34722b6c55694a.zip
Remove duplicated alignment rules
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/init.el45
1 files changed, 0 insertions, 45 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 421bbbf..99d8fa7 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -148,51 +148,6 @@
(setq user-full-name "Tom Willemse"
user-mail-address "tom@ryuslash.org")
-(eval-when-compile (require 'align))
-
-(with-eval-after-load '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 . ,(rx (group (0+ whitespace)) "}" eol))
- (group . (1))
- (modes . '(scss-mode css-mode))))
- (add-to-list 'align-rules-list
- `(css-colons
- (regexp . ,(rx bol
- (0+ whitespace)
- (1+ (any (?a . ?z) ?- ?$))
- ":"
- (group (0+ whitespace))
- (0+ nonl)
- ";"
- eol))
- (group . (1))
- (modes . '(scss-mode css-mode))
- (repeat . t)))
- (add-to-list 'align-rules-list
- `(css-opening-brace
- (regexp . ,(rx bol
- (0+ whitespace)
- (0+ (any ?# ?. ?, ?\s ?& ?: ?-
- (?a . ?z) (?A . ?Z) (?0 . ?9)))
- (any (?a . ?z) (?A . ?Z) (?0 . ?9))
- (group (0+ whitespace))
- "{"
- (0+ nonl)))
- (group . (1))
- (modes . '(scss-mode css-mode)))))
-
-(with-eval-after-load 'align
- (add-to-list 'align-rules-list
- `(php-array-arrow
- (regexp . ,(rx any (group whitespace) "=>" any))
- (group . (1))
- (modes . '(php-mode web-mode))
- (repeat . t))))
-
(eval-when-compile (require 'browse-url))
(with-eval-after-load 'browse-url