thoughtbot / vim-rspec

Run Rspec specs from Vim
https://robots.thoughtbot.com
MIT License
657 stars 108 forks source link

Escape whitespace in full file path #118

Closed betoharres closed 8 years ago

betoharres commented 8 years ago

If user has white space in his file path it won't find the file and will throw an error. I'm having this issue since I moved my files to icloud path, which has whitespace in it.

I suspect that the issue is coming from here https://github.com/thoughtbot/vim-rspec/blob/master/plugin/rspec.vim#L76 but I don't know how to add a regex to escape whitespaces in vim :(

betoharres commented 8 years ago

Actually the plugin doesn't use the full path of the file. Somehow it was doing it for a while and came it back to normal. I'm closing this for now.