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

Unable to use modules (@import) #441

Open solidcell opened 9 years ago

solidcell commented 9 years ago

Maybe I'm just doing it wrong, but I've been unable to get clang_complete to work with @import statements.

For instance: @import UIKit doesn't work. #import <UIKit/UIKit.h> works.

I've tried adding -fmodules to .clang_complete, but that doesn't work.

Any suggests or is this just a known issue? I've searched extensively for a solution, but I'm coming up dry. Thanks.