I had this weird bug with coc-clangd. I was creating a project with SDL3 and it did not like the header. I thought this was weird at first. I then went digging through the header file for SDL3 and found that the error was coming from
I then linked the stdint library to my project and I got the same error within my project.
The strange thing is that it only did it with stdint.h, not any other library
I later then installed clangd with sudo apt install clangd. After running :CocConfig, I set the "clangd.path" to "/usr/bin/clangd" and this seemed to fix the issue.
Originally, when I installed coc-clangd, I used the :CocCommand clangd.install command to get clangd. There might be some issue with the command. I am having a hard time reproducing the error right now for some reason.
Thought I would post my error here just in case it would help you guys! I am not the most knowledgeable when it comes to Neovim, and it very well could have been something to do with my configuration. It would be great if this helps!
I had this weird bug with coc-clangd. I was creating a project with SDL3 and it did not like the header. I thought this was weird at first. I then went digging through the header file for SDL3 and found that the error was coming from
I then linked the stdint library to my project and I got the same error within my project.
The strange thing is that it only did it with stdint.h, not any other library
I later then installed clangd with sudo apt install clangd. After running :CocConfig, I set the "clangd.path" to "/usr/bin/clangd" and this seemed to fix the issue.
Originally, when I installed coc-clangd, I used the :CocCommand clangd.install command to get clangd. There might be some issue with the command. I am having a hard time reproducing the error right now for some reason.
Thought I would post my error here just in case it would help you guys! I am not the most knowledgeable when it comes to Neovim, and it very well could have been something to do with my configuration. It would be great if this helps!