branch: elpa/kotlin-mode
commit 1b6d311168464490ee3a767d36cd9244980e29fe
Merge: 77d709ab54 eb3704e0e2
Author: Gregg Hernandez <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #31 from jojojames/master
Set adaptive-fill-regexp to comment-start-skip
---
kotlin-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/kotlin-mode.el b/kotlin-mode.el
index 4cd7251f66..cf8e738f5c 100644
--- a/kotlin-mode.el
+++ b/kotlin-mode.el
@@ -407,6 +407,7 @@
(set (make-local-variable 'comment-start-skip) "\\(//+\\|/\\*+\\)\\s *")
(set (make-local-variable 'comment-end) "")
(set (make-local-variable 'indent-line-function) 'kotlin-mode--indent-line)
+ (setq-local adaptive-fill-regexp comment-start-skip)
:group 'kotlin
:syntax-table kotlin-mode-syntax-table)