Skip to content

Commit b76c7f3

Browse files
committed
make fill-paragraph work for doc comments
1 parent 2d1fa59 commit b76c7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

purescript-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ see documentation for that variable for more details."
318318
(set (make-local-variable 'adaptive-fill-mode) nil)
319319
(set (make-local-variable 'comment-start) "-- ")
320320
(set (make-local-variable 'comment-padding) 0)
321-
(set (make-local-variable 'comment-start-skip) "[-{]-[ \t]*")
321+
(set (make-local-variable 'comment-start-skip) "--\s*|?\s*")
322322
(set (make-local-variable 'comment-end) "")
323323
(set (make-local-variable 'comment-end-skip) "[ \t]*\\(-}\\|\\s>\\)")
324324
(set (make-local-variable 'parse-sexp-ignore-comments) nil)

0 commit comments

Comments
 (0)