@@ -528,6 +528,8 @@ instead of just its \"value\" entry."
528
528
dict-or-value))
529
529
(fragments (when v2
530
530
(nrepl-dict-get dict-or-value " doc-fragments" )))
531
+ (block-tags (when v2
532
+ (nrepl-dict-get dict-or-value " doc-block-tags-fragments" )))
531
533
(font-size (when-let* ((b (get-buffer cider-inspector-buffer))
532
534
(variable 'text-scale-mode-amount )
533
535
(continue (local-variable-p variable b)))
@@ -536,7 +538,7 @@ instead of just its \"value\" entry."
536
538
; ; Enabling cider-inspector-mode is the specific step that loses the font size.
537
539
(buffer-local-value variable b))))
538
540
(cider-make-popup-buffer cider-inspector-buffer 'cider-inspector-mode 'ancillary )
539
- (cider-inspector-render cider-inspector-buffer value font-size fragments))
541
+ (cider-inspector-render cider-inspector-buffer value font-size fragments block-tags ))
540
542
(cider-popup-buffer-display cider-inspector-buffer cider-inspector-auto-select-buffer)
541
543
(when cider-inspector-fill-frame (delete-other-windows ))
542
544
(ignore-errors (cider-inspector-next-inspectable-object 1 ))
@@ -555,7 +557,7 @@ instead of just its \"value\" entry."
555
557
(when cider-inspector-page-location-stack
556
558
(goto-char (pop cider-inspector-page-location-stack))))))
557
559
558
- (defun cider-inspector-render (buffer str &optional font-size fragments )
560
+ (defun cider-inspector-render (buffer str &optional font-size fragments block-tags )
559
561
" Render STR in BUFFER."
560
562
(with-current-buffer buffer
561
563
(cider-inspector-mode)
@@ -564,20 +566,22 @@ instead of just its \"value\" entry."
564
566
(let ((inhibit-read-only t ))
565
567
(condition-case nil
566
568
(cider-inspector-render* (car (read-from-string str))
567
- fragments)
569
+ fragments
570
+ block-tags)
568
571
(error (insert " \n Inspector error for: " str))))
569
572
(goto-char (point-min ))))
570
573
571
574
(defvar cider-inspector-looking-at-java-p nil )
572
575
573
- (defun cider-inspector-render* (elements &optional fragments )
576
+ (defun cider-inspector-render* (elements &optional fragments block-tags )
574
577
" Render ELEMENTS, and FRAGMENTS if present."
575
578
(setq cider-inspector-looking-at-java-p nil )
576
579
(dolist (el elements)
577
580
(cider-inspector-render-el* el))
578
581
(when fragments
579
582
(insert " \n\n " )
580
- (insert (cider--render-docstring (list " doc-fragments" fragments)))))
583
+ (insert (cider--render-docstring (list " doc-fragments" fragments
584
+ " doc-block-tags-fragments" block-tags)))))
581
585
582
586
(defconst cider--inspector-java-headers
583
587
; ; NOTE "--- Static fields:" "--- Instance fields:" are for objects,
0 commit comments