[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
- [nongnu] elpa/swift-mode 8be19fb 108/496: Highlight self and super as keyword, (continued)
- [nongnu] elpa/swift-mode 8be19fb 108/496: Highlight self and super as keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 3caacf3 007/496: Highlight attributes and _ wildcards, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c8f1dbd 014/496: Update readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode adb3c13 039/496: Restore Emacs 24.1 requirement, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ab5e170 044/496: Add a few links, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a44a755 052/496: Add docstrings for internal indent commands, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 62276c3 061/496: Indent cases in enums, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode e168b34 128/496: Don't use implicit semicolon for multi-line dot expressions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ee83a1d 137/496: Rename swift-indent-multiline-dot-offset to swift-indent-multiline-statement-offset, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fca914a 165/496: Merge pull request #63 from ckruse/updated_syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8db040e 166/496: fix: underscores are word characters (Word constituents),
ELPA Syncer <=
- [nongnu] elpa/swift-mode 2a21e1b 177/496: Add ternary operator smie grammar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 641681a 182/496: Fix small typo in comment string, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2b17f71 183/496: Improve grammar and lexer to support access modifier in class definitions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cac2884 185/496: Add lists to the "type" grammar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode adfe341 190/496: Add grammar for the protocol definitions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 20134ed 193/496: Use postive lookahead for declaration specifier lexer rule, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c2c3c01 199/496: Improve support for optional types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d6483e1 207/496: Add ?? to the lexer rule for operators, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 9e6c538 210/496: Correct DECSPEC regex and lexer rule, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2c67d92 213/496: Fix indentation of the closure arguments inside parentheses, ELPA Syncer, 2021/08/29