branch: elpa/kotlin-mode
commit 6837e4a6b1819beef7c5d3d5a5dcf472ea589e97
Author: Shodai Yokoyama <[email protected]>
Commit: Shodai Yokoyama <[email protected]>
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)