Wild guessing ahead since I'm not using distcc on my German machine, but my guess would be that you can modify the FlagsForFile() method in your ycm_extra_conf.py and strip the leading distcc calls before returnig the flags.
On Wed, Nov 16, 2016 at 6:37 PM, Dimitris Tsirogiannis < [email protected]> wrote: > I tried it but couldn't make it to work. By enabling distcc the > compile_commands.json no longer call clang but distcc instead and > YouCompleteMe doean't like that. That's as far that I got... > > Dimitris > > On Wed, Nov 16, 2016 at 9:21 AM, Jim Apple <[email protected]> wrote: > > bin/run_clang_tidy.sh uses compile_commands.json and it works with > distcc on. > > > > On Wed, Nov 16, 2016 at 9:13 AM, Matthew Jacobs <[email protected]> wrote: > >> Hi all, > >> > >> Do any vim/YouCompleteMe users (or anyone else using the > >> compile_commands.json) have issues after enabling distcc? I've found > >> my vim completion (via YouCompleteMe) no longer works. > >> > >> I'm curious to know if anyone has any workarounds or suggestions. > >> > >> Thanks >
