I have tried develop Linux kernel module on vim with LSP(clangd)
But bunch of warning and errors are appeared.
It may caused by lack of clangd some configurations.
What header files and compiler parameters are required to use clangd with kernel module sources?
My compile_flags.txt is just one line but I know it's not enough:
-I/usr/lib/modules/5.19.3-arch1-1/build/include