branch: elpa/swift-mode
commit 63580e885793bc6c729e8e832870b86cca2212cb
Author: taku0 <mxxouy6x3m_git...@tatapa.org>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Speed-up indentation for colon
---
 swift-mode-lexer.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode-lexer.el b/swift-mode-lexer.el
index b44f977..4bdec5e 100644
--- a/swift-mode-lexer.el
+++ b/swift-mode-lexer.el
@@ -456,7 +456,7 @@ That is supertype declaration or type declaration of let or 
var."
      ;; FIXME: mutual dependency
      (swift-mode:token:text
       (swift-mode:backward-sexps-until
-       '(implicit-\; \; { \( \[ "case" "default" case-:)))
+       '(implicit-\; \; { \( \[ "case" "default" ":")))
      '("case" "default"))))
 
 (defun swift-mode:anonyous-parameter-in-p ()

Reply via email to