Skip to content

Commit

Permalink
Wrap long line
Browse files Browse the repository at this point in the history
  • Loading branch information
taku0 committed Oct 9, 2021
1 parent d39908a commit a811c86
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions swift-mode-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,10 @@ This function does not search beyond LIMIT."
(goto-char pos)
(forward-comment (- (point)))
(skip-syntax-backward "w_")
(and (< (point) limit)
(looking-at
"\\<\\(func\\|enum\\|struct\\|class\\|protocol\\|extension\\|actor\\)\\>")))
(and
(< (point) limit)
(looking-at
"\\<\\(func\\|enum\\|struct\\|class\\|protocol\\|extension\\|actor\\)\\>")))

(defun swift-mode:property-access-pos-p (pos limit)
"Return t if POS is just before the property name of a member expression.
Expand Down

0 comments on commit a811c86

Please sign in to comment.