Skip to content

Commit 3004608

Browse files
committed
Introduce sectionSeparator for use in clients
1 parent 55196c1 commit 3004608

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

haskell-lsp-types/src/Language/Haskell/LSP/Types/MarkupContent.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ unmarkedUpContent str = MarkupContent MkPlainText str
138138

139139
-- ---------------------------------------------------------------------
140140

141+
-- | Markdown for a section separator in Markdown, being a horizontal line
142+
sectionSeparator :: Text
143+
sectionSeparator = "*\t*\t*\n"
144+
145+
-- ---------------------------------------------------------------------
146+
141147
#if __GLASGOW_HASKELL__ >= 804
142148
instance Semigroup MarkupContent where
143149
(<>) = mappend

0 commit comments

Comments
 (0)