mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat: add formatter for rust
This commit is contained in:
parent
dde4a9dcdf
commit
a060b2ed4c
1 changed files with 15 additions and 0 deletions
|
|
@ -113,6 +113,21 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"stevearc/conform.nvim",
|
||||||
|
optional = true,
|
||||||
|
opts = {
|
||||||
|
formatters = {
|
||||||
|
rustfmt = {
|
||||||
|
command = "rustfmt",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
formatters_by_ft = {
|
||||||
|
["rust"] = { "rustfmt" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"nvim-neotest/neotest",
|
"nvim-neotest/neotest",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue