From b720795b2b971532dda21a207f7d9b90228f5bcc Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Tue, 6 Jun 2023 08:20:53 +0200 Subject: [PATCH] syntax_highlighting_and_error_highlighting.md: Fix code snippet formatting --- .../syntax_highlighting_and_error_highlighting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md b/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md index 75ef250da..f1d653fc8 100644 --- a/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md +++ b/topics/reference_guide/custom_language_support/syntax_highlighting_and_error_highlighting.md @@ -98,7 +98,7 @@ To highlight a region of text as a warning or error: ```java - holder.newAnnotation(HighlightSeverity.WARNING,"Invalid code") // or HighlightSeverity.ERROR + holder.newAnnotation(HighlightSeverity.WARNING, "Invalid code") // or HighlightSeverity.ERROR .withFix(new MyFix(psiElement)) .create(); ```