diff options
author | Seth Daniel <github.com@sethdaniel.org> | 2023-08-29 20:30:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 18:30:25 -0700 |
commit | e6e99af64db3f364086aaf55b8b5854ccd62bac4 (patch) | |
tree | 88ffbd63e77b2b4a54d600af5cf5b5840d2b842e /lua/conform/formatters/perlimports.lua | |
parent | d8b07c9d4bbbb77fd3ce995b0cd16dbe19d68e45 (diff) |
feat: add perlimports (#13)
Diffstat (limited to 'lua/conform/formatters/perlimports.lua')
-rw-r--r-- | lua/conform/formatters/perlimports.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/conform/formatters/perlimports.lua b/lua/conform/formatters/perlimports.lua new file mode 100644 index 0000000..d3e520c --- /dev/null +++ b/lua/conform/formatters/perlimports.lua @@ -0,0 +1,13 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/perl-ide/App-perlimports", + description = "Make implicit Perl imports explicit", + }, + command = "perlimports", + args = { + "--read-stdin", + "--filename", + "$FILENAME", + }, +} |