We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f06c0 commit cf1ece1Copy full SHA for cf1ece1
utils/swift-mode.el
@@ -52,6 +52,9 @@
52
`(,(regexp-opt '("willSet" "didSet") 'words) . font-lock-keyword-face)
53
;; Operators
54
`("\\b\\(?:\\(?:pre\\|post\\|in\\)fix\\s-+\\)operator\\b" . font-lock-keyword-face)
55
+ ;; 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)
58
;; Infix operator attributes
59
`(,(regexp-opt '("precedence" "associativity" "left" "right" "none")
60
'words) . font-lock-keyword-face)
0 commit comments