branch: elpa/kotlin-mode
commit ffd69308abadff7c9b48cbc51c9ac589215f1b38
Author: Dr. ERDI Gergo <[email protected]>
Commit: Dr. ERDI Gergo <[email protected]>
Handle all typedecl keywords the same way
---
kotlin-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 7aede909cc..aab40459e0 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -118,7 +118,7 @@
;; Classes/Enums
(,(rx-to-string
- `(and bow "class" eow (+ space)
+ `(and bow (or ,@kotlin-mode--type-decl-keywords) eow (+ space)
(group (+ word)) eow)
t)
1 font-lock-type-face)