I think this is doom emacs specific problem.
Doom collects autoload
functions into an ./local/etc/@/init.el
file
And when I do M-. (which is mapped to doom's +lookup/definition
and in turn it tries xref-find-definition
, I land on the init.el file. (for instance I look for org-agenda
and ends up landing in the init.el)
Is there a way to prevent this, and let it find the original source file?