Skip to content

Commit

Permalink
fix: The plaintext rendering color on the completion document is too
Browse files Browse the repository at this point in the history
dark.

Fixes #368

Signed-off-by: azerr <[email protected]>
  • Loading branch information
angelozerr committed Jun 19, 2024
1 parent 83ab37a commit af5e67d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@ private void render(ContentNode node, String language, NodeRendererContext conte
// Case 2: Try to highlight code block with TextMate
if (!(HAS_TEXTMATE_SUPPORT && TextMateHighlighterHelper.highlightWithTextMate(code, language , this.fileName, html))) {
// Case 3 : no highlight
html.withAttr().tag("code");
html.text(node.getContentChars());
html.tag("/code");
}
}
html.tag("/pre").closePre();
Expand Down

0 comments on commit af5e67d

Please sign in to comment.