deoplete-ruby
deoplete-ruby copied to clipboard
use first path in result list
For me, globpath was returning a newline separated list of file names, which readfile choked on. This takes the first result.
I am not sure if this is indicative of some other problem occurring, or if there is a better solution, but this worked for me.