Closed michaeljones closed 5 years ago
I think I got confused with what I was pushing on that first round. I've rebased & pushed an updated version. Hopefully it works.
Now works with My.Module.Type
as well. We iteratively strip off the end segments and search for a potential module match at each stage.
This is pretty much the first vim script I've ever written so please feel free to change it.
Otherwise the intention is for
gf
to work for examples likeMy.Module.func
andMM
whereMM
is defined byimport My.Module as MM
. Also works forMM.func
.