Skip to content

Commit b45dea4

Browse files
ia0brotzeit
authored andcommitted
Make it a new flag
1 parent ed917ef commit b45dea4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clients/lsp-rust.el

+4-4
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,11 @@ The command should include `--message=format=json` or similar option."
495495
:group 'lsp-rust-analyzer
496496
:package-version '(lsp-mode . "6.2.2"))
497497

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`."
500500
:type 'boolean
501501
:group 'lsp-rust-analyzer
502-
:package-version '(lsp-mode . "6.2.2"))
502+
:package-version '(lsp-mode . "8.0.2"))
503503

504504
(defcustom lsp-rust-analyzer-checkonsave-features []
505505
"List of features to activate.
@@ -753,7 +753,7 @@ or JSON objects in `rust-project.json` format."
753753
:checkOnSave (:enable ,(lsp-json-bool lsp-rust-analyzer-cargo-watch-enable)
754754
:command ,lsp-rust-analyzer-cargo-watch-command
755755
: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)
757757
:features ,lsp-rust-analyzer-checkonsave-features
758758
:overrideCommand ,lsp-rust-analyzer-cargo-override-command)
759759
:files (:exclude ,lsp-rust-analyzer-exclude-globs

0 commit comments

Comments
 (0)