vim-rtags icon indicating copy to clipboard operation
vim-rtags copied to clipboard

Quoting directory issues

Open minijackson opened this issue 8 years ago • 1 comments

Hi and first of all thank you for your work.

I have a project which is in a directory that contains spaces, and unfortunately, it causes multiple issues with this plugin, ie: following location, completion, and others.

As far as I know, the problem arises from the lack of quoting in the getCurrentLocation function and the parsing of rc's output (like here), but it could be from other places.

I don't know how to parse rc's output reliably so I'm not making a pull request, but I'd be glad to be of help.

minijackson avatar Nov 09 '17 01:11 minijackson

A nice way would be to parse rc's builtin json output using the --json flag, but I don't know about doing that in ViML, and some commands doesn't seem to support json (like -f), which could be a bug.

minijackson avatar Nov 09 '17 01:11 minijackson