Remove duplicated alignment rules
This commit is contained in:
parent
d5c07e813e
commit
4f0a9c75e1
1 changed files with 0 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue