[Emacs] Add multi-line strategy for Java

This commit is contained in:
Ivan Malison 2017-09-08 13:22:11 -07:00
parent 3c10e85909
commit 861d7bd000
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2007,6 +2007,12 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
:bind ("C-c d" . multi-line)
:config
(progn
(multi-line-defhook java
(make-instance
'multi-line-strategy
:respace (multi-line-respacers-with-single-line
(list (multi-line-clearing-reindenting-respacer
multi-line-skip-first-and-last-respacer)))))
;; This only works for array respacing
(multi-line-defhook sh
(make-instance