File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ This function does not search beyond LIMIT."
212212 (skip-syntax-backward " w_" )
213213 (and (< (point ) limit)
214214 (looking-at
215- " \\ <\\ (func\\ |enum\\ |struct\\ |class\\ |protocol\\ |extension\\ )\\ >" )))
215+ " \\ <\\ (func\\ |enum\\ |struct\\ |class\\ |protocol\\ |extension\\ |actor \\ )\\ >" )))
216216
217217(defun swift-mode:property-access-pos-p (pos limit )
218218 " Return t if POS is just before the property name of a member expression.
@@ -540,7 +540,8 @@ Return nil otherwise."
540540(defconst swift-mode:declaration-keywords
541541 '(" associatedtype" " class" " deinit" " enum" " extension" " fileprivate" " func"
542542 " import" " init" " inout" " internal" " let" " open" " operator" " private"
543- " protocol" " public" " some" " static" " struct" " subscript" " typealias" " var" )
543+ " protocol" " public" " some" " static" " struct" " subscript" " typealias" " var"
544+ " actor" )
544545 " Keywords used in declarations." )
545546
546547(defconst swift-mode:statement-keywords
You can’t perform that action at this time.
0 commit comments