summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorSeth Daniel <seth@sethdaniel.org>2023-08-29 20:55:47 -0500
committerGitHub <noreply@github.com>2023-08-29 18:55:47 -0700
commit882b75994af34fed3c4fe6f1a97ad58b352ec25f (patch)
treea1c7195aa8618da83a796dda4765042b792d4913 /lua
parent2c9a6098fa3385ac6b7cbae19a1888b59b12ef02 (diff)
feat: add perltidy (#12)
Diffstat (limited to 'lua')
-rw-r--r--lua/conform/formatters/perltidy.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/perltidy.lua b/lua/conform/formatters/perltidy.lua
new file mode 100644
index 0000000..3b8be2c
--- /dev/null
+++ b/lua/conform/formatters/perltidy.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/perltidy/perltidy",
+ description = "Perl::Tidy, a source code formatter for Perl",
+ },
+ command = "perltidy",
+ args = { "--quiet" },
+}