From 1dfc84ae9128d7f4f0673cf235e3cf7db45413e8 Mon Sep 17 00:00:00 2001 From: Fabian Imhof Date: Wed, 21 May 2025 13:42:47 +0200 Subject: [PATCH] add prettypst --- lua/plugins.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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' }, + }, + }, }, },