Closed krhubert closed 6 years ago
I looked at this https://github.com/fatih/vim-go/issues/208 issue and come up with this fix.
After this and #52 PR goreturns might be integrated with vim-go I guess.
I've also added two flags to make it work. I know it mgith be confusing , waiting for feedbac.
Below is possible vim implementation of goreturns:
let [l:out, l:err] = go#util#Exec(['goreturns', '-w', '-i=false', '-exclude', expand('%:t'), '-pkgdir', expand('%:p:h'), l:tmpname])
I looked at this https://github.com/fatih/vim-go/issues/208 issue and come up with this fix.
After this and #52 PR goreturns might be integrated with vim-go I guess.
I've also added two flags to make it work. I know it mgith be confusing , waiting for feedbac.
Below is possible vim implementation of goreturns: