aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform
diff options
context:
space:
mode:
authorMads Hougesen <madshougesen@gmail.com>2024-06-03 02:38:57 +0200
committerGitHub <noreply@github.com>2024-06-02 17:38:57 -0700
commitc84169717ee74698f9df20c6437fa06df03bf1fe (patch)
treea7422d5a4832906e8c3e0467866cf541021b7b70 /lua/conform
parent3e442ea042599042f93a5a3921ea1db638c82a9c (diff)
feat: support docstrfmt (#441)
Diffstat (limited to 'lua/conform')
-rw-r--r--lua/conform/formatters/docstrfmt.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/docstrfmt.lua b/lua/conform/formatters/docstrfmt.lua
new file mode 100644
index 0000000..2852211
--- /dev/null
+++ b/lua/conform/formatters/docstrfmt.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/LilSpazJoekp/docstrfmt",
+ description = "reStructuredText formatter.",
+ },
+ command = "docstrfmt",
+ stdin = true,
+}