Skip to content

cider-defun-at-point doesn't work correctly with #_ prefixed forms #2682

Open
@alexander-yakushev

Description

@alexander-yakushev

Partially related to #2375.

cider-defun-at-point goes completely nuts when invoked from forms prefixed by #_ (or any other data reader for that matter). Here's an example (█ stands for cursor):

#_(foo█)

#_(bar)

(cider-defun-at-point) here returns "#_"! Basically, it returns any form that follows the #_-prefixed form we are in; and that might be the desired behavior – but certainly not returning #_.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpinnedTickets immune to staleness checks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions