clang complete doesn't work

前端 未结 2 1389
天命终不由人
天命终不由人 2021-01-19 01:43

I installed clang_complete for vim,but it doesn\'t work. For example: When I typed std:: in a c++ file with vim, the bottom of vim\'s window shows that:

相关标签:
2条回答
  • 2021-01-19 02:08

    The common solution to this appears to be to add:

    let g:clang_user_options='|| exit 0'
    

    to your .vimrc file.

    0 讨论(0)
  • 2021-01-19 02:12

    This problem was solved at the issue #178. This was in truth a problem with Clang, I've opened a bug report and it was promptly solved.

    Also, I invite you to take a look at my setup.

    0 讨论(0)
提交回复
热议问题