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

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

[nongnu] elpa/kotlin-mode 666187a086 110/162: Merge pull request #33 fro


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 666187a086 110/162: Merge pull request #33 from mikegolod/issue-32
Date: Sat, 29 Jan 2022 08:25:27 -0500 (EST)

branch: elpa/kotlin-mode
commit 666187a086c042e70b65b13ea83b34a493440d95
Merge: 1b6d311168 5d83221994
Author: Gregg Hernandez <greggory.hz@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #33 from mikegolod/issue-32
    
    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]