mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-06 10:20:36 +00:00
The core issue was that when a file was opened in the LSP, if it had already been read from disk, Salsa would return cached content instead of reading from the overlay system. This happened because opening a file didn't bump its revision, so Salsa had no reason to invalidate its cache. Key changes: - Created Buffers abstraction to encapsulate shared buffer storage - Fixed Session::open_document() to bump revision when file already exists - Added comprehensive integration tests to verify overlay behavior - Refactored WorkspaceFileSystem to use Buffers instead of raw DashMap This ensures that overlays always take precedence over disk content, fixing the issue where LSP edits weren't being reflected in template parsing. |
||
---|---|---|
.. | ||
djls | ||
djls-conf | ||
djls-dev | ||
djls-project | ||
djls-server | ||
djls-templates | ||
djls-workspace |