branch: elpa/scala-mode commit 265dadcba117f37c364112487e35e1a1712e32f3 Author: Keith Pinson <keith.pin...@banno.com> Commit: Keith Pinson <keith.pin...@banno.com>
fix: `//`-comments filled incorrectly (`//` not acting as prefix) This is the same problem for Scala as described [here](https://github.com/syl20bnr/spacemacs/issues/11326) for F#. --- scala-mode.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scala-mode.el b/scala-mode.el index 95b5203..fe1bf58 100644 --- a/scala-mode.el +++ b/scala-mode.el @@ -115,6 +115,7 @@ When started, runs `scala-mode-hook'. 'parse-sexp-lookup-properties 'fill-paragraph-function 'adaptive-fill-function + 'adaptive-fill-regexp 'adaptive-fill-first-line-regexp 'comment-start 'comment-end @@ -150,6 +151,7 @@ When started, runs `scala-mode-hook'. paragraph-separate scala-paragraph:paragraph-separate-re fill-paragraph-function 'scala-paragraph:fill-paragraph adaptive-fill-function 'scala-paragraph:fill-function + adaptive-fill-regexp "[ \t]*\\(//+[ \t]*\\)*" adaptive-fill-first-line-regexp scala-paragraph:fill-first-line-re comment-start "// " comment-end ""