branch: elpa/kotlin-mode
commit 3c9b24eb043ad7539069bb3dc81191d78e15c0cc
Author: Shodai Yokoyama <[email protected]>
Commit: Shodai Yokoyama <[email protected]>
kotlin-mode: Highlight keywords
---
kotlin-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 302b005665..b3f673361a 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -85,6 +85,11 @@
(defvar kotlin-mode-font-lock-keywords
`(
+ ;; Keywords
+ (,(rx-to-string
+ `(and bow (group (or ,@kotlin-mode--keywords)) eow)
+ t)
+ 1 font-lock-keyword-face)
)
"Default highlighting expression for `kotlin-mode'"
)