[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode 39db5b6208 033/162: kotlin-mode: Highlight pro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode 39db5b6208 033/162: kotlin-mode: Highlight properties |
Date: |
Sat, 29 Jan 2022 08:25:20 -0500 (EST) |
branch: elpa/kotlin-mode
commit 39db5b6208679f69ddc9c6c817ec94f02a042a36
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>
kotlin-mode: Highlight properties
---
kotlin-mode.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index c1f43084da..2feb775887 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -159,6 +159,14 @@
(*? (or space ?\n)) "{")
t)
1 font-lock-keyword-face)
+
+ ;; Properties
+ ;; by/get/set are valid identifiers being used as variable
+ ;; TODO: Highlight keywords in the property declaration statement
+ (,(rx-to-string
+ `(and bow (group (or ,@kotlin-mode--property-keywords)) eow)
+ t)
+ 1 font-lock-keyword-face)
)
"Default highlighting expression for `kotlin-mode'"
)
- [nongnu] elpa/kotlin-mode 9314dd61f6 040/162: kotlin-mode: Use syntax-propertize-function, (continued)
- [nongnu] elpa/kotlin-mode 9314dd61f6 040/162: kotlin-mode: Use syntax-propertize-function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 748fcbbec9 049/162: Fix bug in regular expression, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 4f1d0a3919 055/162: Add 'interface' as a type decl keyword, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e75f8b0113 144/162: Make compatible with Emacs 24.3, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b9d03a769b 158/162: Add version attribute, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 36b030022e 120/162: Improve identification and handling of line continuation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 639203bf84 143/162: Require cl-lib instead of cl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8e6dd578f2 154/162: Merge pull request #52 from taku0/add-makefile, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode ffeb70e788 048/162: Temporarily disable syntax highlighting for "by", "get", "set", "in", and "out", ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 86b94d7d34 160/162: Add LICENSE file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 39db5b6208 033/162: kotlin-mode: Highlight properties,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode 300acc2341 036/162: kotlin-mode: Highlight package names, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a174f5ba44 039/162: kotlin-mode: Add kotlin-mode--match-interpolation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 42b7af8122 046/162: 'data class' -> 'data', ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 6c5531cd6f 059/162: Add autoload cookie to the kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 876cc27dc1 159/162: Merge pull request #63 from phikal/patch-1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a51321a4d1 161/162: Merge pull request #64 from phst/license, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8e4018e7a5 044/162: Added new keywords to kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode fdadc96898 034/162: kotlin-mode: Defin initializer keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c3942942a8 066/162: Merge branch 'patch-1' of https://github.com/jasonm23/kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode d6720fe9bc 123/162: Merge pull request #40 from martinblake/master, ELPA Syncer, 2022/01/29