I am working on a C++ project and have clangd working mostly correctly with a compile_commands.json database generated with CMake.
The problem is that I can't seem to get clangd to work with template header files. Clangd seems to error out with
reply:textDocument/semanticTokens/full(2) 736 ms, error: Task was cancelled.\nI[21:36:01.635] --> reply:textDocument/semantcTokens/full(3) 99 ms\n"
I'm using clangd version 15.0.6
I've tried seperating the definition to its own file and including it at the end of the header and the issue persists. I tried looking around and there doesn't seem to be much information related to clangd issues with template header files around, so I'm thinking this might be a bad setup on my end?