[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 30c09a1: Improve Octave indentation after continuation lines
From: |
Lars Ingebrigtsen |
Subject: |
master 30c09a1: Improve Octave indentation after continuation lines |
Date: |
Sat, 29 May 2021 01:04:43 -0400 (EDT) |
branch: master
commit 30c09a16744ccc108689c66b283c1c7b6abe010c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 a1a5192..5d877fc 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)."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 30c09a1: Improve Octave indentation after continuation lines,
Lars Ingebrigtsen <=