aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanuel Särnhammar <emanuel@empa.xyz>2024-05-22 07:30:52 +0200
committerGitHub <noreply@github.com>2024-05-21 22:30:52 -0700
commite47dcde340c80645ab32b09da2c492174e6660c4 (patch)
treeefecee02b4cbec273292d4b3959c67d697406dc4
parentb8f3ed3903430033f638b17f7455b8fd3d6a85b5 (diff)
feat: add support for typstyle (#412)
* feat: add support for typstyle * doc: add period at end of description --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
-rw-r--r--lua/conform/formatters/typstyle.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/typstyle.lua b/lua/conform/formatters/typstyle.lua
new file mode 100644
index 0000000..eaae7b0
--- /dev/null
+++ b/lua/conform/formatters/typstyle.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/Enter-tainer/typstyle",
+ description = "Beautiful and reliable typst code formatter.",
+ },
+ command = "typstyle",
+ stdin = true,
+}