#ZLS imported C header completion

1 messages · Page 1 of 1 (latest)

storm star
#

This is more of a zig tooling question than a zig language question. Is it possible to get zls to autocomplete using the imported C header files?
Like if I do ```rust
const c = @cImport({
@cInclude("pcap/pcap.h");
});

Can I get completions for the functions in `pcap.h`?
oak wren
#

not at the moment

near coral
#

cimport support has been disabled until it can be rewritten to work with changes to zig

storm star
#

Oh okay that's too bad, hopefully it's fixed soon

#

Thanks for the issue links!

chilly talon
#

so you can just use that in the meantime

storm star
#

It looks like the pull request got merged