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()
|
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' },
|
||||||
|
|
Loading…
Add table
Reference in a new issue