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