branch: elpa/kotlin-mode
commit 9762ca895d60d90100798214bfe0492904e195d6
Author: Remy Goldschmidt <[email protected]>
Commit: Remy Goldschmidt <[email protected]>

    The characters '?' and '!' are now font-locked properly in types
---
 kotlin-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index 2e5940d094..d9d6fc7ae5 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -112,7 +112,7 @@
 
     ;; Types
     (,(rx-to-string
-      `(and (* space) ":" (* space) (group (+ (or word "<" ">" "."))))
+      `(and (* space) ":" (* space) (group (+ (or word "<" ">" "." "?" "!"))))
       t)
      0 font-lock-type-face)
 

Reply via email to