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

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

[nongnu] elpa/kotlin-mode 1795847372 008/162: kotlin-mode: syntax-table


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 1795847372 008/162: kotlin-mode: syntax-table - Define b-style comment
Date: Sat, 29 Jan 2022 08:25:17 -0500 (EST)

branch: elpa/kotlin-mode
commit 1795847372302343c17022c8c15a74459094cc5d
Author: Shodai Yokoyama <quantumcars@gmail.com>
Commit: Shodai Yokoyama <quantumcars@gmail.com>

    kotlin-mode: syntax-table - Define b-style comment
---
 kotlin-mode.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index 9996e84fe2..35c276b956 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -40,6 +40,10 @@
 (defvar kotlin-mode-syntax-table
   (let ((st (make-syntax-table)))
 
+    ;; b-style comment
+    (modify-syntax-entry ?/ ". 124b" st)
+    (modify-syntax-entry ?* ". 23" st)
+    (modify-syntax-entry ?\n "> b" st)
     st))
 
 



reply via email to

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