diff --git a/helix.toml b/helix.toml index c5cf186..95d1bea 100644 --- a/helix.toml +++ b/helix.toml @@ -62,3 +62,12 @@ enable = true max-wrap = 25 # increase value to reduce forced mid-word wrapping max-indent-retain = 0 wrap-indicator = "" # set wrap-indicator to "" to hide it + +[[language]] +name = "typst" +auto-format = true +language-servers = ["tinymist"] +formatter = { command = "prettypst", args = ["--use-std-in", "--use-std-out", "--style=otbs"] } + +[language-server.tinymist] +command = "tinymist"