Open
Description
Please note that I am NOT asking for anything like full support for sweet expressions in this mode. I only want the imenu to work. I can make this happen now by changing to text mode and evaluating
(setq imenu-generic-expression '((nil "^define\\(/contract\\)? \\([^[:space:](]+\\)" 2)))
but then I lose other racket-mode features like C-c C-c runs the command racket-run
I am referring to the syntax or notation described at https://readable.sourceforge.io/ and implemented at https://docs.racket-lang.org/sweet/index.html and https://pkgs.racket-lang.org/package/sweet-exp