branch: elpa/swift-mode commit 52748770a4cfd388747b4178891d643d698df2b2 Author: Chris Barrett <chris.d.barr...@me.com> Commit: Chris Barrett <chris.d.barr...@me.com>
Add single-line comments to syntax table --- swift-mode.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swift-mode.el b/swift-mode.el index 5dead84..782545b 100644 --- a/swift-mode.el +++ b/swift-mode.el @@ -130,6 +130,8 @@ (modify-syntax-entry ?? ". p" st) (modify-syntax-entry ?& ". p" st) (modify-syntax-entry ?! ". p" st) + (modify-syntax-entry ?/ ". 12b" st) + (modify-syntax-entry ?\n "> b" st) (dolist (c '(?$ ?% ?+ ?- ?/ ?: ?< ?= ?> ?@ ?^ ?|)) (modify-syntax-entry c "." st))