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

Only highlight diagnostics from the current file #527

Closed mlen closed 7 years ago

mlen commented 7 years ago

When issues were detected in an included header file, they would get incorrectly highlighted by clang_complete in the file that included that header.

xaizek commented 7 years ago

Thanks!