I am working with an old C code base where there are header files with non-standard extensions such as .s
, .e
, etc instead of .h
For compatibility reasons I cannot rename these files.
Currently these files are causing the following error message in clangd:
Unable to handle compilation, expected exactly one compiler job in ''clang(fe_expected_compiler_job)
Which I interpret as meaning "0 compiler job found" i.e. clangd treats these files as .c
source files.
How can I get clangd to treat them as header files ?