branch: elpa/kotlin-mode
commit 5d83221994b2b63ed8f26ea7f3a20c0cb09c1d9c
Author: Mikhail Golod <[email protected]>
Commit: Mikhail Golod <[email protected]>
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 )