Open AradiPatrik opened 1 month ago
I have the same issue with matching lua C functions. i.e. luacheck
only shows lua_checkstack
but none of the luaL_checkstring
etc. functions. VSCode does do autocompletion better on this regard. Did you find a workaround yet?
FAQ
Announcement
Minimal reproducible full config
Basically the kickstart config with clangd installed through Mason
Description
Here's a screen recording demonstrating the problem, further description can be found below
https://github.com/user-attachments/assets/298ecddd-2fc0-480e-bfd8-93e565a38127
Steps to reproduce
For reproduction create a directory containing the following header file: https://raw.githubusercontent.com/glfw/glfw/master/include/GLFW/glfw3.h
Mason install clangd
Create a file next to it called
main.c
Expected behavior
Actual behavior
Additional context
I tried with vscode and clion, both of them work for the first case outlined, so it seems to be a cmp bug or misconfiguration on my part.
I treid setting these config fields:
seem to have 0 effect on the outcome.
Any help for configuring this is appreciated