use leptosfmt
This commit is contained in:
parent
76d5252e52
commit
1fd4375963
2 changed files with 4 additions and 1 deletions
|
@ -212,7 +212,7 @@ require('lazy').setup({
|
|||
lua = { 'stylua' },
|
||||
markdown = { { 'prettierd', 'prettier' } },
|
||||
python = { 'isort', 'black' },
|
||||
rust = { 'rustywind', 'rustfmt' },
|
||||
rust = { 'leptosfmt', 'rustfmt' },
|
||||
scss = { { 'prettierd', 'prettier' } },
|
||||
sh = { 'shellharden', 'beautysh' },
|
||||
toml = { 'taplo' },
|
||||
|
|
|
@ -62,6 +62,9 @@ if [ "$1" -ge 1 ]; then
|
|||
|
||||
if [ ! "$(command -v rustup)" ]; then
|
||||
yay -S --needed --noconfirm rust
|
||||
|
||||
if [ ! "$(command -v leptosfmt)" ]; then
|
||||
cargo install leptosfmt
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue