add prettypst

This commit is contained in:
Fabian Imhof 2025-05-21 13:42:47 +02:00
parent ed66331b72
commit 1dfc84ae91
1 changed files with 6 additions and 0 deletions

View File

@ -276,12 +276,18 @@ require('lazy').setup({
scss = { 'prettierd' }, scss = { 'prettierd' },
html = { 'prettierd' }, html = { 'prettierd' },
markdown = { 'prettierd' }, markdown = { 'prettierd' },
typst = { 'prettypst' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" }, -- python = { "isort", "black" },
-- --
-- You can use 'stop_after_first' to run the first available formatter from the list -- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true }, -- javascript = { "prettierd", "prettier", stop_after_first = true },
}, },
formatters = {
prettypst = {
prepend_args = { '--style=default', '--use-configuration' },
},
},
}, },
}, },