aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThim Cederlund <41735402+thimc@users.noreply.github.com>2023-09-15 18:17:39 +0200
committerGitHub <noreply@github.com>2023-09-15 09:17:39 -0700
commit5abf6c2c89ff6ed7d17285ec1da759013463bfc7 (patch)
tree68de7060d633adc3ab689f194984293f575acfa6
parent2db16832f5a68bc2072483793e2997c91b56a44f (diff)
feat: add GNU/BSD indent (#54)
-rw-r--r--lua/conform/formatters/indent.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/indent.lua b/lua/conform/formatters/indent.lua
new file mode 100644
index 0000000..7a854cc
--- /dev/null
+++ b/lua/conform/formatters/indent.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://www.gnu.org/software/indent/",
+ description = "GNU Indent",
+ },
+ command = "indent",
+ stdin = true,
+}