diff --git a/kotlin-mode-lexer.el b/kotlin-mode-lexer.el index 13d560e..cf37034 100644 --- a/kotlin-mode-lexer.el +++ b/kotlin-mode-lexer.el @@ -610,7 +610,7 @@ expression as a token with one of the following types: (cond ;; Tokens that end a statement ((memq (kotlin-mode--token-text previous-token) - '(return continue break)) + '("return" "continue" "break")) t) ;; .* in import declarations end a statement.