mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 14:15:14 +00:00
Re-enable cargo.autoreload
autoreload=false was likely to leave project metadata stale after manifest or workspace changes #1779
This commit is contained in:
1 parent
580a7b479e
commit
1f133f62cf
2 files changed
+1
-2
No files matched your search
@@ -516,7 +516,7 @@ class RustAnalyzer(SolidLanguageServer):
|
||||
# because Rust diagnostics rely on flycheck.
|
||||
"cachePriming": {"enable": False, "numThreads": 0},
|
||||
"cargo": {
|
||||
"autoreload": False,
|
||||
"autoreload": True,
|
||||
"buildScripts": {
|
||||
"enable": True,
|
||||
"invocationLocation": "workspace",
|
||||
|
||||
@@ -18,7 +18,6 @@ def test_initialization_uses_lightweight_indexing_settings() -> None:
|
||||
initialization_options = _make_server()._create_base_initialize_params()["initializationOptions"]
|
||||
|
||||
assert initialization_options["cachePriming"]["enable"] is False
|
||||
assert initialization_options["cargo"]["autoreload"] is False
|
||||
assert initialization_options["checkOnSave"] is True
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user