Skip to content

Commit c641324

Browse files
authored
Merge pull request #95 from fwcd/plaintext-hovers
Fix codeblocks generated for plaintext extension hovers
2 parents 3a6bd2c + 533f0db commit c641324

File tree

1 file changed

+1
-1
lines changed
  • src/Curry/LanguageServer/Handlers/TextDocument

1 file changed

+1
-1
lines changed

src/Curry/LanguageServer/Handlers/TextDocument/Hover.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ extensionHover store ast@(moduleIdentifier -> mid) pos@(J.Position l c) uri e =
9797

9898
let simpleCodeBlock t
9999
| T.null t = ""
100-
| otherwise = "```\n" <> t <> "\n```"
100+
| otherwise = "```plaintext\n" <> t <> "\n```"
101101

102102
text <- case exitCode of
103103
ExitSuccess -> return $ T.unlines

0 commit comments

Comments
 (0)