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

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

[nongnu] elpa/kotlin-mode 300acc2341 036/162: kotlin-mode: Highlight pac


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 300acc2341 036/162: kotlin-mode: Highlight package names
Date: Sat, 29 Jan 2022 08:25:20 -0500 (EST)

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

    kotlin-mode: Highlight package names
---
 kotlin-mode.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index 8f71517b4d..4734a9ecb9 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -177,6 +177,13 @@
        `(and bow (group (or ,@kotlin-mode--initializer-keywords)) eow)
        t)
      1 font-lock-keyword-face)
+
+    ;; Package names
+    (,(rx-to-string
+       `(and (or ,@kotlin-mode--misc-keywords) (+ space)
+             (group (+ (any word ?.))))
+       t)
+     1 font-lock-string-face)
     )
   "Default highlighting expression for `kotlin-mode'"
   )



reply via email to

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