[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode a659099864 037/162: kotlin-mode: Add kotlin-mo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode a659099864 037/162: kotlin-mode: Add kotlin-mode--syntax-propertize-interpolation |
Date: |
Sat, 29 Jan 2022 08:25:20 -0500 (EST) |
branch: elpa/kotlin-mode
commit a659099864cb0e3981021cc0019b60fc7fc1d52f
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>
kotlin-mode: Add kotlin-mode--syntax-propertize-interpolation
---
kotlin-mode.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 4734a9ecb9..86760cc163 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -188,6 +188,16 @@
"Default highlighting expression for `kotlin-mode'"
)
+(defun kotlin-mode--syntax-propertize-interpolation ()
+ (let* ((pos (match-beginning 0))
+ (context (save-excursion
+ (save-match-data (syntax-ppss pos)))))
+ (when (nth 3 context)
+ (put-text-property pos
+ (1+ pos)
+ 'kotlin-property--interpolation
+ (match-data))))
+ )
(define-derived-mode kotlin-mode prog-mode "Kotlin"
"Major mode for editing Kotlin."
- [nongnu] elpa/kotlin-mode 0d89426a75 064/162: Merge branch 'package-improvements' of https://github.com/rexim/kotlin-mode, (continued)
- [nongnu] elpa/kotlin-mode 0d89426a75 064/162: Merge branch 'package-improvements' of https://github.com/rexim/kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 565a266142 063/162: Add kt to auto-mode-alist to trigger kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 043615d3c3 065/162: Merge branch 'master' of https://github.com/purcell/kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b4ec722a4c 071/162: lexical-binding setting must be at first line, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ed5bb641a9 073/162: makes tab-width configurable, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 52c8099b45 078/162: Merge pull request #1 from taktoa/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode afbf3ae8fe 081/162: Merge branch 'master' of https://github.com/gregghz/kotlin-mode into gregghz-master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode cd4901acc6 080/162: Merge pull request #6 from jasonm23/patch-1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode f54da34b3f 088/162: Merge pull request #11 from russel/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c051947e27 041/162: kotlin-mode: Highlight string interpolations, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a659099864 037/162: kotlin-mode: Add kotlin-mode--syntax-propertize-interpolation,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode c40557c411 053/162: Merge pull request #1 from gergoerdi/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 2f3d991159 060/162: Remove redundant declaration of hook and keymap, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 953bb91328 151/162: Merge pull request #50 from taku0/fix-comment-at-bob, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ab61099682 152/162: use 4 for defualt tab width, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e5c6d845e6 093/162: Merge pull request #19 from gregghz/fixes-closing-bracket-indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 72a2bf2347 096/162: Add a file to get Travis-CI to run the test suite., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b91bab57b6 099/162: Adding REPL support, credit to https://github.com/sarvex/kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 1ed0c5589e 098/162: Merge pull request #22 from russel/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8574583b30 105/162: Fix highlighting escaped identifiers in interpolations, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode eb3704e0e2 106/162: Set adaptive-fill-regexp to comment-start-skip, ELPA Syncer, 2022/01/29