Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
703 stars 123 forks source link

No type definitions for lib? ZLS #132

Closed Krymancer closed 3 months ago

Krymancer commented 3 months ago

This seem to be related with #42

I just created a project with zig init and I don't have any autocomplete or any information on hover.

I tried using the project_setup.ps1 on windows and project_setup.sh (in wsl and in another machine that I have arch installed) and the same is occurring.

Autocomplete for std working fine so don't seem an issue with ZLS.

rl has unknow type image

std has type type image

No autocomplete for rl image

Autocomplete for std image

Not-Nik commented 3 months ago

This is pretty surely a different issue. Could be related to zigtools/zls#1927, but I'm not sure what your setup looks like. If the program builds correctly I don't see how this is a raylib-zig issue. Take this up with ZLS people