From d13376fd78468327075ba635802e1c4970d11e9b Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Tue, 9 Jan 2024 15:42:48 -0500 Subject: [PATCH] rustfmt and notes --- configs/nvim/lua/lazy-plugins.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/nvim/lua/lazy-plugins.lua b/configs/nvim/lua/lazy-plugins.lua index 2cd4534..c8326dd 100644 --- a/configs/nvim/lua/lazy-plugins.lua +++ b/configs/nvim/lua/lazy-plugins.lua @@ -189,6 +189,8 @@ require('lazy').setup({ config = function() local conform = require 'conform' + -- single lists run sequential + -- sub-lists run first available conform.setup { formatters_by_ft = { bash = { 'shellharden', 'beautysh' }, @@ -199,7 +201,7 @@ require('lazy').setup({ json = { { 'prettierd', 'prettier' } }, lua = { 'stylua' }, markdown = { { 'prettierd', 'prettier' } }, - rust = { 'rustfmt' }, + rust = { { 'leptosfmt', 'rustfmt' } }, scss = { { 'prettierd', 'prettier' } }, sh = { 'shellharden', 'beautysh' }, toml = { 'taplo' },