[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode a811c86 3/4: Wrap long line
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode a811c86 3/4: Wrap long line |
Date: |
Sat, 9 Oct 2021 02:57:49 -0400 (EDT) |
branch: elpa/swift-mode
commit a811c86a62f47cb09aef71fcfebc1a01e993aaae
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@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.