[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode 3b10a6a97f 030/162: kotlin-mode: Highlight mod
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode 3b10a6a97f 030/162: kotlin-mode: Highlight modifier |
Date: |
Sat, 29 Jan 2022 08:25:19 -0500 (EST) |
branch: elpa/kotlin-mode
commit 3b10a6a97fc768d2dbb69311116851fd0ec21de5
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>
kotlin-mode: Highlight modifier
---
kotlin-mode.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 40e431596e..72582fe610 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -134,6 +134,15 @@
(+ space) bow (group (+ (any alnum word))) eow)
t)
1 font-lock-function-name-face)
+
+ ;; Access modifier
+ ;; Access modifier is valid identifier being used as variable
+ ;; TODO: Highlight only modifiers in the front of class/fun
+ (,(rx-to-string
+ `(and bow (group (or ,@kotlin-mode--modifier-keywords))
+ eow)
+ t)
+ 1 font-lock-keyword-face)
)
"Default highlighting expression for `kotlin-mode'"
)
- [nongnu] elpa/kotlin-mode 81b869a98c 075/162: consistent naming, (continued)
- [nongnu] elpa/kotlin-mode 81b869a98c 075/162: consistent naming, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 34d89566b4 084/162: First stab at a README., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 9e2e4c11fe 090/162: Merge pull request #13 from gregghz/whitespace-indent, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a2c2628d55 104/162: Merge pull request #27 from trevorsummerssmith/more-focus, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 5d83221994 109/162: 1x indent inside parenthesis, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 41eaed3e38 116/162: Remove overwritten <tab> key mapping so that region indentation works, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 5e9aff2ae9 122/162: Fix tests to run in the expected test environment., ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 7de9cc101a 133/162: Add *.elc to .gitignore, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 42fa1402a1 150/162: Merge pull request #49 from taku0/fix-warnings, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 0e4bafb31d 156/162: Merge pull request #57 from taku0/fix-backquote, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 3b10a6a97f 030/162: kotlin-mode: Highlight modifier,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode 34947b6b35 045/162: Added 'data class' as a keyword, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b2c51ab7ba 057/162: Merge pull request #2 from gergoerdi/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e45a8f73e7 061/162: Declare dependency on Emacs 24.3, for setq-local, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a02410bc5d 067/162: adds better indentation support for kotlin, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 80f51689bf 074/162: add readme, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 865e55fb4b 072/162: Merge pull request #2 from syohex/fix-package, ELPA Syncer, 2022/01/29
- [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