[Emacs] Add multi-line strategy for Java
This commit is contained in:
parent
3c10e85909
commit
861d7bd000
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user