emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/kotlin-mode 3c9b24eb04 021/162: kotlin-mode: Highlight key


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 3c9b24eb04 021/162: kotlin-mode: Highlight keywords
Date: Sat, 29 Jan 2022 08:25:18 -0500 (EST)

branch: elpa/kotlin-mode
commit 3c9b24eb043ad7539069bb3dc81191d78e15c0cc
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>

    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'"
   )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]