Browse Source

Merge pull request #566 from toctan/smart-curly-braces

Extra newline and indent when RETURN between {}
custom
Bozhidar Batsov 12 years ago
parent
commit
59b8d1710b
  1. 3
      modules/prelude-programming.el

3
modules/prelude-programming.el

@ -121,6 +121,9 @@ This functions should be added to the hooks of major modes for programming."
(when prelude-guru
(guru-mode +1))
(smartparens-mode +1)
(sp-pair "{" nil :post-handlers
'(((lambda (&rest _ignored)
(prelude-smart-open-line-above)) "RET")))
(prelude-enable-whitespace)
(prelude-local-comment-auto-fill)
(prelude-font-lock-comment-annotations))

Loading…
Cancel
Save