Skip to content

Commit ee52b3b

Browse files
authored
lsp-rust: support cargo.buildScripts.overrideCommand (#4804)
1 parent dc75f2a commit ee52b3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clients/lsp-rust.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,8 @@ https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/lsp-extensions.m
17221722
:loadOutDirsFromCheck ,(lsp-json-bool lsp-rust-analyzer-cargo-run-build-scripts)
17231723
:autoreload ,(lsp-json-bool lsp-rust-analyzer-cargo-auto-reload)
17241724
:useRustcWrapperForBuildScripts ,(lsp-json-bool lsp-rust-analyzer-use-rustc-wrapper-for-build-scripts)
1725-
:unsetTest ,lsp-rust-analyzer-cargo-unset-test)
1725+
:unsetTest ,lsp-rust-analyzer-cargo-unset-test
1726+
:buildScripts (:overrideCommand ,lsp-rust-analyzer-cargo-override-command))
17261727
:rustfmt ( :extraArgs ,lsp-rust-analyzer-rustfmt-extra-args
17271728
:overrideCommand ,lsp-rust-analyzer-rustfmt-override-command
17281729
:rangeFormatting (:enable ,(lsp-json-bool lsp-rust-analyzer-rustfmt-rangeformatting-enable)))

0 commit comments

Comments
 (0)