Skip to content

Commit 1dfc84a

Browse files
author
Fabian Imhof
committed
add prettypst
1 parent ed66331 commit 1dfc84a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lua/plugins.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,18 @@ require('lazy').setup({
276276
scss = { 'prettierd' },
277277
html = { 'prettierd' },
278278
markdown = { 'prettierd' },
279+
typst = { 'prettypst' },
279280
-- Conform can also run multiple formatters sequentially
280281
-- python = { "isort", "black" },
281282
--
282283
-- You can use 'stop_after_first' to run the first available formatter from the list
283284
-- javascript = { "prettierd", "prettier", stop_after_first = true },
284285
},
286+
formatters = {
287+
prettypst = {
288+
prepend_args = { '--style=default', '--use-configuration' },
289+
},
290+
},
285291
},
286292
},
287293

0 commit comments

Comments
 (0)