diff --git a/configs/nvim/lua/lazy-plugins.lua b/configs/nvim/lua/lazy-plugins.lua index 7f26473..3176952 100644 --- a/configs/nvim/lua/lazy-plugins.lua +++ b/configs/nvim/lua/lazy-plugins.lua @@ -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' }, diff --git a/scripts/install_arch b/scripts/install_arch index 4fae0c2..071766d 100755 --- a/scripts/install_arch +++ b/scripts/install_arch @@ -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