Configure rust-analyzer to use nightly rustfmt
This commit is contained in:
parent
67b90b9f1e
commit
a821534536
@ -60,4 +60,14 @@ lsp.format_on_save({
|
||||
}
|
||||
})
|
||||
|
||||
lsp.configure("rust_analyzer", {
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
rustfmt = {
|
||||
extraArgs = { "+nightly" }
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
lsp.setup()
|
||||
|
Loading…
Reference in New Issue
Block a user