diff --git a/CHANGELOG.md b/CHANGELOG.md index 258ad2fa..a0d3fed6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,8 @@ Status of the `main` branch. Changes prior to the next official version change w Serena's own tools to close the gap (#1852) * Language Servers: + - Fix: High-level document symbol cache was not invalidated when the LS-specific low-level result + version changed - 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 7c20af86..ce17add4 100644 --- a/src/solidlsp/ls.py +++ b/src/solidlsp/ls.py @@ -2984,10 +2984,8 @@ class SolidLanguageServer(ABC): high_level_fingerprint = self._document_symbols_cache_fingerprint() if high_level_fingerprint is not None: version.append(high_level_fingerprint) - raw_fingerprint = self._raw_document_symbols_cache_fingerprint() - if raw_fingerprint is not None: - version.append(raw_fingerprint) - return version[0] if len(version) == 1 else tuple(version) + version.append(self._raw_document_symbols_cache_version()) + return tuple(version) def _save_raw_document_symbols_cache(self) -> None: cache_file = self.cache_dir / self.RAW_DOCUMENT_SYMBOL_CACHE_FILENAME