Extra newline and indent when RETURN between {}
This commit is contained in:
parent
b21abe428e
commit
ab64e2bb3c
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ This functions should be added to the hooks of major modes for programming."
|
||||||
(when prelude-guru
|
(when prelude-guru
|
||||||
(guru-mode +1))
|
(guru-mode +1))
|
||||||
(smartparens-mode +1)
|
(smartparens-mode +1)
|
||||||
|
(sp-pair "{" nil :post-handlers
|
||||||
|
'(((lambda (&rest _ignored)
|
||||||
|
(prelude-smart-open-line-above)) "RET")))
|
||||||
(prelude-enable-whitespace)
|
(prelude-enable-whitespace)
|
||||||
(prelude-local-comment-auto-fill)
|
(prelude-local-comment-auto-fill)
|
||||||
(prelude-font-lock-comment-annotations))
|
(prelude-font-lock-comment-annotations))
|
||||||
|
|
Loading…
Reference in a new issue