From 2daa8da842b1e687e0bdf6950f42a4aebc5e9b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=B5=20Quang=20Chi=E1=BA=BFn?= Date: Fri, 8 Nov 2024 08:56:14 +0700 Subject: [PATCH] fix(typst): enable single file support Co-authored-by: Stefan Boca <45266795+stefanboca@users.noreply.github.com> --- lua/lazyvim/plugins/extras/lang/typst.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/typst.lua b/lua/lazyvim/plugins/extras/lang/typst.lua index 49645ca1..58868230 100644 --- a/lua/lazyvim/plugins/extras/lang/typst.lua +++ b/lua/lazyvim/plugins/extras/lang/typst.lua @@ -17,6 +17,10 @@ return { opts = { servers = { tinymist = { + single_file_support = true, + root_dir = function() + LazyVim.root.get() + end, settings = { formatterMode = "typstyle", },