branch: elpa/swift-mode commit a811c86a62f47cb09aef71fcfebc1a01e993aaae Author: taku0 <mxxouy6x3m_git...@tatapa.org> Commit: taku0 <mxxouy6x3m_git...@tatapa.org>
Wrap long line --- swift-mode-font-lock.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el index 4b9c875..595554a 100644 --- a/swift-mode-font-lock.el +++ b/swift-mode-font-lock.el @@ -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.