Where does LanguageServer store its cache?

When running LanguageServer (in Neovim), the LSP log shows messages like

Downloading cache files...
…
Package FFTW (7a1cc6ca-52ef-59f5-83cd-3a7055c09341) is cached.
…
Done loading FFTW from cache...

Where does LanguageServer store its cache? I’m getting an unexplained “Missing reference”, and I’d like to check if nuking the cache has any effect.

One can set a path in the LanguageServerInstance constructor (symserver_store_path). If that is not set, it will be stored in a folder called store in the SymbolServer package folder. Which is really bad, we should migrate that to scratch spaces.

2 Likes