[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode 60ebf567ec 2/2: Merge pull request #66 from te
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode 60ebf567ec 2/2: Merge pull request #66 from ted-tanner/master |
Date: |
Wed, 18 May 2022 13:58:36 -0400 (EDT) |
branch: elpa/kotlin-mode
commit 60ebf567ec1bcd56a40594d04ac2b866aa6935a2
Merge: f8b7b3648e 4566a988b0
Author: Gregg Hernandez <greggory.hz@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #66 from ted-tanner/master
Properly indent 2-line for and while loops without brackets
---
kotlin-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 184538fc22..c5845bbfd7 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -368,7 +368,7 @@
(defun kotlin-mode--line-continuation()
"Return whether this line continues a statement in the previous line"
(or
- (and (kotlin-mode--prev-line-begins "\\(if\\|else\\)[ \t]*")
+ (and (kotlin-mode--prev-line-begins "\\(if\\|else\\|for\\|while\\)[ \t]*")
(not (kotlin-mode--prev-line-ends "{.*")))
(or
(kotlin-mode--line-begins
"\\([.=:]\\|->\\|\\(\\(private\\|public\\|protected\\|internal\\)[
\t]*\\)?[sg]et\\b\\)")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/kotlin-mode 60ebf567ec 2/2: Merge pull request #66 from ted-tanner/master,
ELPA Syncer <=