xavierd / clang_complete

Vim plugin that use clang for completing C/C++ code.
http://www.vim.org/scripts/script.php?script_id=3302
1.96k stars 308 forks source link

Cannot use clang_complete with vim on Fedora #588

Open Feoggou opened 2 years ago

Feoggou commented 2 years ago

Hey. I tried the steps, but I can't make it work.

I'm using Fedora 34, Python3.9, clang 12, vim 8.2.

I have this line in ~/.vimrc:

let g:clang_library_path='/usr/lib64/llvm/'

(I previously tried with '/usr/lib64/', still didn't work).

I had copied the clang_complete directory to ~/.vim/clang_complete

I created a file called .clang_complete in the current directory. I added this line to it:

-I/usr/include/c++/11

And, when I use vim, e.g. to edit a .cpp file in this current directory... nothing happens.

Did I miss something important? I would really appreciate help.