Skip to content

Commit 35c55f3

Browse files
committed
help out poor emacs users with 'guard'.
Swift SVN r28250
1 parent ddddc88 commit 35c55f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/swift-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"private" "public" "internal" "override")
4242
'words) . font-lock-keyword-face)
4343
;; Statements
44-
`(,(regexp-opt '("if" "unless" "in" "else" "for" "do" "repeat" "while" "return"
44+
`(,(regexp-opt '("if" "guard" "in" "else" "for" "do" "repeat" "while" "return"
4545
"break" "continue" "switch" "case" "throw" "try")
4646
'words) . font-lock-keyword-face)
4747
;; Expressions

0 commit comments

Comments
 (0)