Vala: Pass dependencies to LSP
Using the project https://github.com/akiraux/Akira the latest nightly is able to navigate to Any definition in code, even to vapi for Gtk. But it is not for other dependencies.
To show a case: libgee is not detected:
Based on https://github.com/mesonbuild/meson/blob/master/docs/markdown/Vala.md#the-simplest-case the vapi file has same name as the pkg-config file, so introspecting the project for dependencies:
$ meson introspect build --dependencies | jq | grep gee "-I/usr/include/gee-0.8", "/usr/lib/libgee-0.8.so", "name": "gee-0.8", "-I/usr/include/gee-0.8", "/usr/lib/libgee-0.8.so",
that matches with the libgee vapi file which is:
@esodan Tried to explain it clear to me but I'm still missing the whole thing:
- How can we pass the dependencies to LSP in vala?
- How we can turn them to vapi files?