From 1ea189f9bbb28b275918ef194489622207f95bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=B5=20Quang=20Chi=E1=BA=BFn?= Date: Sat, 2 Nov 2024 16:07:47 +0700 Subject: [PATCH] revert(typst): restore conform configuration Co-authored-by: Stefan Boca <45266795+stefanboca@users.noreply.github.com> --- lua/lazyvim/plugins/extras/lang/typst.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/typst.lua b/lua/lazyvim/plugins/extras/lang/typst.lua index adea7cdb..a61d1cb7 100644 --- a/lua/lazyvim/plugins/extras/lang/typst.lua +++ b/lua/lazyvim/plugins/extras/lang/typst.lua @@ -25,6 +25,16 @@ return { }, }, + { + "stevearc/conform.nvim", + optional = true, + opts = { + formatters_by_ft = { + typst = { "typstyle", lsp_format = "prefer" }, + }, + }, + }, + { "chomosuke/typst-preview.nvim", cmd = { "TypstPreview", "TypstPreviewToggle", "TypstPreviewUpdate" },