diff --git a/CHANGELOG.md b/CHANGELOG.md index ba459db3..495e7a7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -73,6 +73,8 @@ Status of the `main` branch. Changes prior to the next official version change w specific, measured overshoot when building its high-level document symbols (#1974) - Fix: High-level document symbol cache was not invalidated when the LS-specific low-level result version changed + - Fix: A language server's cache directory was determined by the language_id rather than + the language server identifier's key. The two identifiers coincided in most cases. - Fix: TypeScript and VTS now disable automatic type acquisition as intended, while VTS preserves explicit user settings across initialization and configuration requests (#1989) VTS initialization options now override defaults per top-level key rather than replacing the diff --git a/src/solidlsp/ls.py b/src/solidlsp/ls.py index ce17add4..26dda831 100644 --- a/src/solidlsp/ls.py +++ b/src/solidlsp/ls.py @@ -546,7 +546,7 @@ class SolidLanguageServer(ABC): self._published_diagnostics_condition = threading.Condition() # initialise symbol caches - self.cache_dir = Path(self._solidlsp_settings.project_data_path) / self.CACHE_FOLDER_NAME / self.language_id + self.cache_dir = Path(self._solidlsp_settings.project_data_path) / self.CACHE_FOLDER_NAME / self.ls_id.get_key() self.cache_dir.mkdir(parents=True, exist_ok=True) # * raw document symbols cache self._ls_specific_raw_document_symbols_cache_version = cache_version_raw_document_symbols