lem icon indicating copy to clipboard operation
lem copied to clipboard

feature: detective should capture `defroute` and `define-other-thing`

Open vindarel opened this issue 1 year ago • 0 comments

Currently M-x detective-all doesn't show definitions such as:

(defroute route () …)

(define-thing thing () …)

It should!


I tried some regexs with no avail:

;; lisp-mode.lisp
                       :misc-regex
                       (lem/detective:make-capture-regex
                        :regex "^(?:\\(define-[a-zA-Z]* |\\(def[a-zA-Z]* )"

This one catches defroute but not define-thing:

                        :regex "^\\(def[a-zA-Z]* "

We should add and escape a "-" in it somehow.

@Sasanidas Ideas?

thanks

vindarel avatar Nov 21 '24 18:11 vindarel