Skip to content

Commit 8ef95fe

Browse files
committed
Merge pull request #1037 from gracjan/pr-haddock-para
Properly separate haddock paragraphs
2 parents 3c8e6c8 + 9c14bd0 commit 8ef95fe

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

haskell-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ Minor modes that work well with `haskell-mode':
644644
(set (make-local-variable 'paragraph-start)
645645
(concat " *{-\\| *-- |\\|" page-delimiter))
646646
(set (make-local-variable 'paragraph-separate)
647-
(concat " *$\\| *-- |\\| *\\({-\\|-}\\) *$\\|" page-delimiter))
647+
(concat " *$\\| *\\({-\\|-}\\) *$\\|" page-delimiter))
648648
(set (make-local-variable 'fill-paragraph-function) 'haskell-fill-paragraph)
649649
;; (set (make-local-variable 'adaptive-fill-function) 'haskell-adaptive-fill)
650650
(set (make-local-variable 'adaptive-fill-mode) nil)

tests/haskell-mode-tests.el

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,6 @@ Also should respect 10 column fill."
378378
'("-- @| a b c d")))
379379

380380
(ert-deftest fill-comment-haddock-2 ()
381-
;; FIXME: This shouldn't be failing, https://github.com/haskell/haskell-mode/issues/851.
382-
:expected-result :failed
383381
(check-fill '("-- | a b c"
384382
"-- d e")
385383
'("-- @| a b c d"

0 commit comments

Comments
 (0)