[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode d9d77ed459 069/162: indentation logic handling
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode d9d77ed459 069/162: indentation logic handling lambdas |
Date: |
Sat, 29 Jan 2022 08:25:23 -0500 (EST) |
branch: elpa/kotlin-mode
commit d9d77ed459f2616e4b947e84e44299b20b1252de
Author: Gregg Hernandez <gregg@lucidchart.com>
Commit: Gregg Hernandez <gregg@lucidchart.com>
indentation logic handling lambdas
---
kotlin-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 6dcaadce9b..61b35cc8d9 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -245,6 +245,10 @@
(setq cur-indent (+ (current-indentation)
default-tab-width))
(setq not-indented nil))
+ ((looking-at ".*{.*->[ \t]*$")
+ (setq cur-indent (+ (current-indentation)
default-tab-width))
+ (setq not-indented nil))
+
((looking-at ".*([ \t]*$")
(setq cur-indent (+ (current-indentation) (* 2
default-tab-width)))
(setq not-indented nil))
- [nongnu] elpa/kotlin-mode c35ef85b0a 079/162: Merge pull request #2 from rexim/package-improvements, (continued)
- [nongnu] elpa/kotlin-mode c35ef85b0a 079/162: Merge pull request #2 from rexim/package-improvements, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c65c96a51a 086/162: fixes close bracket indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e5ee4c4bd2 094/162: Merge pull request #20 from Thrip/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 6d679ed0da 097/162: Treat use of make as redundant, assume people will use 'cask exec ert-runner' to run the tests., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode eb7183e47b 101/162: Merge pull request #25 from tninja/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 0e542ae2f7 114/162: Merge pull request #37 from cjfuller/fix-star-projected-types, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 2467eceee3 118/162: Properly indent multi-line comment blocks, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 3c48b34e0d 127/162: Delete unused function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 1f57bb5a92 135/162: Fix test runner in .travis.yml, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 96b37d211c 139/162: Merge pull request #45 from taku0/add_backup_to_gitignore, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d9d77ed459 069/162: indentation logic handling lambdas,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode 82db4dce0c 077/162: basic indentation test, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 49ef724e96 076/162: additional keywords and smarter highlighting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 257647d5d6 083/162: handle chained method calls on multiple lines, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e1540a5ddf 087/162: Merge pull request #10 from gregghz/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ad16798e02 091/162: Set proper indentation for closing brackets preceded by a blank line, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ebcf6f3730 102/162: switch to tab-width, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 1b6d311168 108/162: Merge pull request #31 from jojojames/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 734b08408c 103/162: Add send-{block, buffer, line, region}-and-focus functions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 472ae23d6a 113/162: Fix syntax highlighting of star-projected types, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 002dd1497c 112/162: Merge pull request #36 from mikegolod/issue-35, ELPA Syncer, 2022/01/29