branch: elpa/kotlin-mode
commit 300acc234133cef70e8597da40d0d4d251847acb
Author: Shodai Yokoyama <[email protected]>
Commit: Shodai Yokoyama <[email protected]>
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'"
)