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

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

[nongnu] elpa/kotlin-mode 6837e4a6b1 026/162: kotlin-mode: Treat `_' as


From: ELPA Syncer
Subject: [nongnu] elpa/kotlin-mode 6837e4a6b1 026/162: kotlin-mode: Treat `_' as being a valid part of word
Date: Sat, 29 Jan 2022 08:25:19 -0500 (EST)

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

    kotlin-mode: Treat `_' as being a valid part of word
---
 kotlin-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kotlin-mode.el b/kotlin-mode.el
index a4057717db..eddc5c5858 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -45,6 +45,9 @@
     ;; Strings
     (modify-syntax-entry ?\" "\"" st)
 
+    ;; `_' as being a valid part of a word
+    (modify-syntax-entry ?_ "w" st)
+
     ;; b-style comment
     (modify-syntax-entry ?/ ". 124b" st)
     (modify-syntax-entry ?* ". 23" st)



reply via email to

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