[Emacs] Add always-newline respacer for sh-mode

This commit is contained in:
Ivan Malison 2017-08-21 19:18:06 -07:00
parent d1b91dcc23
commit e4cf874fcf
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2067,7 +2067,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
** multi-line ** multi-line
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(imalison:use-package multi-line (imalison:use-package multi-line
;; Demand multi-line to avoid failre to load mode specific strategies ;; Demand multi-line to avoid failure to load mode specific strategies
:demand t :demand t
:bind ("C-c d" . multi-line) :bind ("C-c d" . multi-line)
:config :config
@ -2078,6 +2078,8 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
'multi-line-strategy 'multi-line-strategy
:find multi-line-lisp-find-strategy :find multi-line-lisp-find-strategy
:respace (multi-line-default-respacers :respace (multi-line-default-respacers
(multi-line-clearing-reindenting-respacer
multi-line-always-newline-respacer)
(multi-line-clearing-reindenting-respacer (multi-line-clearing-reindenting-respacer
multi-line-force-first-and-last-respacer)))))) multi-line-force-first-and-last-respacer))))))
#+END_SRC #+END_SRC