Open KristupasSavickas opened 6 years ago
I confirm this problem
compile_command.json have two formats one is with arguments
, other is with command
. This plugin require second option, as generated by clang
A quick way to fix this is jq 'map(try (.command = (.arguments | join(" ")) | del(.arguments)))' compile_commands.json > compile_commands.json.tmp && mv compile_commands.json{.tmp,}
.
Hello, I've just installed deoplete_clang2 and I'm getting this error when trying to edit a .c file:
My ~/.config/nvim/init.vim:
My compile_commands.json: