branch: elpa/swift-mode
commit 8db040e421dbd93da1ae03dd374137f155f8c589
Author: Christian Kruse <c...@defunct.ch>
Commit: Christian Kruse <c...@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