Lsp-config ccls not finding root directory

For some reason I was wondering why there were no error messages showing up, I did :LspInfo and it showed that ccls is not attaching to the buffer, and when I did :LspStart ccls, it says that matching root directory not detected. Other language servers are doing fine and have no problems only ccls. Also lsp.log does not show anything only LSP logging initiated. how would I be able to fix this? Thanks!

Edit: To clarify ccls was working fine before a full system update I just did, tried rebooting and still no luck.

1 Like

Making a .ccls file makes the server attach to it, I’m compiling with gcc would be it okay to just leave it blank? I’ve read that the .ccls file is mostly for compiling purposes.