mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Update lua/lazyvim/plugins/extras/lang/rust.lua
Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
This commit is contained in:
parent
7f83021b50
commit
dc7968799d
1 changed files with 1 additions and 3 deletions
|
|
@ -81,9 +81,7 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- Add clippy lints for Rust if using rust-analyzer
|
-- Add clippy lints for Rust if using rust-analyzer
|
||||||
checkOnSave = {
|
checkOnSave = diagnostics == "rust-analyzer",
|
||||||
enable = diagnostics == "rust-analyzer",
|
|
||||||
},
|
|
||||||
-- Enable diagnostics if using rust-analyzer
|
-- Enable diagnostics if using rust-analyzer
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
enable = diagnostics == "rust-analyzer",
|
enable = diagnostics == "rust-analyzer",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue