[Feature Request]Expose the s:map_gf to customize gf
jiz4oh opened this issue · comments
jiz4oh commented
jiz4oh commented
especial I want it's works with vim-gf-user
Tim Pope commented
If you're looking to customize the map, then the last thing you want is s:map_gf
, as all it does is define its own gf
map. Instead, follow what the map points at: <Plug><cfile>
. It in turn is defined to point at rails#ruby_cfile()
or rails#sprockets_cfile()
, depending on the file type.
jiz4oh commented
thanks your patiently explain, I have finished my plugin by rails#ruby_cfile()
and rails#sprockets_cfile()