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

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

[nongnu] elpa/swift-mode 5274877 010/496: Add single-line comments to sy


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 5274877 010/496: Add single-line comments to syntax table
Date: Sun, 29 Aug 2021 11:32:57 -0400 (EDT)

branch: elpa/swift-mode
commit 52748770a4cfd388747b4178891d643d698df2b2
Author: Chris Barrett <chris.d.barrett@me.com>
Commit: Chris Barrett <chris.d.barrett@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))



reply via email to

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