rustfmt and notes

This commit is contained in:
Adam 2024-01-09 15:42:48 -05:00
parent 87a79de424
commit d13376fd78

View file

@ -189,6 +189,8 @@ require('lazy').setup({
config = function() config = function()
local conform = require 'conform' local conform = require 'conform'
-- single lists run sequential
-- sub-lists run first available
conform.setup { conform.setup {
formatters_by_ft = { formatters_by_ft = {
bash = { 'shellharden', 'beautysh' }, bash = { 'shellharden', 'beautysh' },
@ -199,7 +201,7 @@ require('lazy').setup({
json = { { 'prettierd', 'prettier' } }, json = { { 'prettierd', 'prettier' } },
lua = { 'stylua' }, lua = { 'stylua' },
markdown = { { 'prettierd', 'prettier' } }, markdown = { { 'prettierd', 'prettier' } },
rust = { 'rustfmt' }, rust = { { 'leptosfmt', 'rustfmt' } },
scss = { { 'prettierd', 'prettier' } }, scss = { { 'prettierd', 'prettier' } },
sh = { 'shellharden', 'beautysh' }, sh = { 'shellharden', 'beautysh' },
toml = { 'taplo' }, toml = { 'taplo' },