From e4cf874fcfb6c12d0479b751a36d6c182115ea27 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 21 Aug 2017 19:18:06 -0700 Subject: [PATCH] [Emacs] Add always-newline respacer for sh-mode --- dotfiles/emacs.d/README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 206153f6..3eb4af07 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2067,7 +2067,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab ** multi-line #+BEGIN_SRC emacs-lisp (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 :bind ("C-c d" . multi-line) :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 :find multi-line-lisp-find-strategy :respace (multi-line-default-respacers + (multi-line-clearing-reindenting-respacer + multi-line-always-newline-respacer) (multi-line-clearing-reindenting-respacer multi-line-force-first-and-last-respacer)))))) #+END_SRC