emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swift-mode 8db040e 166/496: fix: underscores are word char


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 8db040e 166/496: fix: underscores are word characters (Word constituents)
Date: Sun, 29 Aug 2021 11:33:29 -0400 (EDT)

branch: elpa/swift-mode
commit 8db040e421dbd93da1ae03dd374137f155f8c589
Author: Christian Kruse <cjk@defunct.ch>
Commit: Christian Kruse <cjk@defunct.ch>

    fix: underscores are word characters (Word constituents)
    
    In Swift, underscores are word characters (Word constituents), not
    Symbol constituents. This fixes #64
---
 swift-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode.el b/swift-mode.el
index 81d6553..1d60fc5 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -591,7 +591,7 @@ You can send text to the REPL process from other buffers 
containing source.
     (modify-syntax-entry ?\\ "\\" table)
 
     ;; Additional symbols
-    (modify-syntax-entry ?_ "_" table)
+    (modify-syntax-entry ?_ "w" table)
     (modify-syntax-entry ?: "_" table)
 
     ;; Comments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]