summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorHÃ¥kon Harnes <89907156+HakonHarnes@users.noreply.github.com>2023-11-06 17:26:11 +0100
committerGitHub <noreply@github.com>2023-11-06 08:26:11 -0800
commitb1f1194338c96d385ec6370ac734ab63c0289776 (patch)
treebff833488741e7a94305f00c2318b82d490b83f1 /lua
parent0d43691a092bd8c81f617a99519dde4b2f19fdf2 (diff)
feat: add typstfmt (#180)
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/typstfmt.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/typstfmt.lua b/lua/conform/formatters/typstfmt.lua
new file mode 100644
index 0000000..e5d0e5f
--- /dev/null
+++ b/lua/conform/formatters/typstfmt.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/astrale-sharp/typstfmt",
+ description = "Basic formatter for the Typst language with a future!",
+ },
+ command = "typstfmt",
+ stdin = true,
+}