From 30c09a16744ccc108689c66b283c1c7b6abe010c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 29 May 2021 07:04:34 +0200 Subject: [PATCH] Improve Octave indentation after continuation lines * lisp/progmodes/octave.el (octave-smie-rules): Indent continuation lines better (bug#17955). --- lisp/progmodes/octave.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index a1a5192ee1f..5d877fc6ba3 100644 --- a/lisp/progmodes/octave.el +++ b/lisp/progmodes/octave.el @@ -460,7 +460,8 @@ Non-nil means always go to the next Octave code line after sending." (smie-rule-parent octave-block-offset) ;; For (invalid) code between switch and case. ;; (if (smie-rule-parent-p "switch") 4) - nil)))) + nil)) + ('(:after . "=") octave-block-offset))) (defun octave-indent-comment () "A function for `smie-indent-functions' (which see)." -- 2.39.5