@@ -495,11 +495,11 @@ The command should include `--message=format=json` or similar option."
495
495
:group 'lsp-rust-analyzer
496
496
:package-version '(lsp-mode . " 6.2.2" ))
497
497
498
- (defcustom lsp-rust-analyzer-cargo -all-targets t
499
- " Cargo watch all targets or not ."
498
+ (defcustom lsp-rust-analyzer-check -all-targets t
499
+ " Enables -- all- targets for `cargo check` ."
500
500
:type 'boolean
501
501
:group 'lsp-rust-analyzer
502
- :package-version '(lsp-mode . " 6.2 .2" ))
502
+ :package-version '(lsp-mode . " 8.0 .2" ))
503
503
504
504
(defcustom lsp-rust-analyzer-checkonsave-features []
505
505
" List of features to activate.
@@ -753,7 +753,7 @@ or JSON objects in `rust-project.json` format."
753
753
:checkOnSave (:enable ,(lsp-json-bool lsp-rust-analyzer-cargo-watch-enable)
754
754
:command , lsp-rust-analyzer-cargo-watch-command
755
755
:extraArgs , lsp-rust-analyzer-cargo-watch-args
756
- :allTargets ,(lsp-json-bool lsp-rust-analyzer-cargo -all-targets)
756
+ :allTargets ,(lsp-json-bool lsp-rust-analyzer-check -all-targets)
757
757
:features , lsp-rust-analyzer-checkonsave-features
758
758
:overrideCommand , lsp-rust-analyzer-cargo-override-command )
759
759
:files (:exclude , lsp-rust-analyzer-exclude-globs
0 commit comments