Skip to content

Commit 8b1a234

Browse files
committed
Fix "#end" to "#endif"
1 parent cf1ece1 commit 8b1a234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/swift-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
;; Operators
5454
`("\\b\\(?:\\(?:pre\\|post\\|in\\)fix\\s-+\\)operator\\b" . font-lock-keyword-face)
5555
;; Keywords that begin with a number sign
56-
`("#\\(available\\|else\\|elseif\\|end\\|if\\)\\b" . font-lock-string-face)
57-
`("#\\(column\\|file\\|function\\|line\\|selector\\)\\b" . font-lock-keyword-face)
56+
`("#\\(if\\|endif\\|elseif\\|else\\|available\\)\\b" . font-lock-string-face)
57+
`("#\\(file\\|line\\|column\\|function\\|selector\\)\\b" . font-lock-keyword-face)
5858
;; Infix operator attributes
5959
`(,(regexp-opt '("precedence" "associativity" "left" "right" "none")
6060
'words) . font-lock-keyword-face)

0 commit comments

Comments
 (0)