xavierd / clang_complete

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

Completion in struct array doesn't work #589

Open JasperSurmont opened 2 years ago

JasperSurmont commented 2 years ago

clang_complete doesn't find the member names in the individual structs inside a struct array:

struct poptOption opts[] = {
    { . <-- no pattern found },
};

but this works (which should mean I configured everything correctly, right?):

struct poptOption opt = { . <-- pattern found };

Not sure if this is a bug or I'm doing something wrong

Yueh-Wang commented 2 years ago

您好,您的邮件我已收到,我会尽快给您回复。