Closed micke closed 6 years ago
In order for this to work, the Slim ftplugin needs to load the Ruby ftplugin, as is done in eRuby and Haml.
Thank you @tpope. I had a feeling it would be something as simple as this. But my vimscript-fu was not strong enough to figure it out. So thanks for the clear instructions! I will open a issue in the correct repo.
gf works in .erb files.
:nmap gf
in a .erb template givesn gf @<SNR>214_c:find <Plug><cfile><CR>
But it doesn't work in .slim files.
:nmap gf
in a slim template givesNo mapping found