rustfmt and notes
This commit is contained in:
parent
87a79de424
commit
d13376fd78
1 changed files with 3 additions and 1 deletions
|
@ -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' },
|
||||
|
|
Loading…
Add table
Reference in a new issue