Skip to content

cider-doc specs could use better formatting #2150

@xiongtx

Description

@xiongtx

Expected behavior

Specs in cider-doc buffers should be properly indented and font-locked.

image

Actual behavior

Specs in cider-doc buffers are not properly indented or font-locked.

image

The poor formatting is in part due to attempts to perform formatting on the cider-nrepl side rather than the Emacs side. cider-nrepl should return data rather than formatted strings (to the extent possible) and let CIDER take care of formatting.

Note

#2029 also deals with formatting specs in the cider-doc buffer. Perhaps the work here could be used to improve the work there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions