emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/kotlin-mode 5d83221994 109/162: 1x indent inside parenthes


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 5d83221994 109/162: 1x indent inside parenthesis
Date: Sat, 29 Jan 2022 08:25:27 -0500 (EST)

branch: elpa/kotlin-mode
commit 5d83221994b2b63ed8f26ea7f3a20c0cb09c1d9c
Author: Mikhail Golod <mikhail.golod@gmail.com>
Commit: Mikhail Golod <mikhail.golod@gmail.com>

    1x indent inside parenthesis
---
 kotlin-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index cf8e738f5c..50a355d3da 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -358,7 +358,7 @@
             ((looking-at "^[ \t]*)") ; line starts with )
              (save-excursion
                (kotlin-mode--prev-line)
-               (setq cur-indent (- (current-indentation) (* 2 
kotlin-tab-width))))
+               (setq cur-indent (- (current-indentation) kotlin-tab-width)))
              (if (< cur-indent 0)
                  (setq cur-indent 0)))
 
@@ -379,7 +379,7 @@
                         (setq not-indented nil))
 
                        ((looking-at ".*([ \t]*$") ; line ends with (
-                        (setq cur-indent (+ (current-indentation) (* 2 
kotlin-tab-width)))
+                        (setq cur-indent (+ (current-indentation) 
kotlin-tab-width))
                         (setq not-indented nil))
 
                        ((looking-at "^[ \t]*).*$") ; line starts with )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]