@Override
    public @Nullable TrafficLightRenderer createRenderer(@NotNull Editor editor, @Nullable PsiFile file) {
      Project project = editor.getProject();
      if (project == null || !isCommitMessage(editor.getDocument())) return null;
      return new ConditionalTrafficLightRenderer(project, editor.getDocument());
    }
@Override
    public @Nullable TrafficLightRenderer createRenderer(@NotNull Editor editor, @Nullable PsiFile file)