Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6e55716

Browse files
Fix obsolete loadOutDirsFromCheck configs
1 parent eaebead commit 6e55716

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/user/manual.adoc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,9 @@ nvim_lsp.rust_analyzer.setup({
315315
prefix = "self",
316316
},
317317
cargo = {
318-
loadOutDirsFromCheck = true
318+
buildScripts = {
319+
enable = true,
320+
},
319321
},
320322
procMacro = {
321323
enable = true
@@ -366,7 +368,9 @@ if executable('rust-analyzer')
366368
\ 'whitelist': ['rust'],
367369
\ 'initialization_options': {
368370
\ 'cargo': {
369-
\ 'loadOutDirsFromCheck': v:true,
371+
\ 'buildScripts': {
372+
\ 'enable': v:true,
373+
\ },
370374
\ },
371375
\ 'procMacro': {
372376
\ 'enable': v:true,
@@ -529,7 +533,9 @@ For example, a very common configuration is to enable proc-macro support, can be
529533
----
530534
{
531535
"cargo": {
532-
"loadOutDirsFromCheck": true,
536+
"buildScripts": {
537+
"enable": true,
538+
},
533539
},
534540
"procMacro": {
535541
"enable": true,

0 commit comments

Comments
 (0)