Closed frenchy64 closed 5 years ago
The short answer is use [<C-d>
. gf
is by design entirely static analysis, which is more than adequate for its stated purpose of "go to file", but is easily tripped up when it comes to finding declarations. Getting it to be 100% reliable isn't really feasible, but patches welcome.
There's a surprising difference between
gf
and[<C-d>
onclojure.core/map
:gf
jumps to the forward-declaration ofmap
instead of its definition.I noticed
map
is forward-declared without:declared
metadata with simply(def map)
. This might have something to do with it.Minimal example: