From e6e99af64db3f364086aaf55b8b5854ccd62bac4 Mon Sep 17 00:00:00 2001 From: Seth Daniel Date: Tue, 29 Aug 2023 20:30:25 -0500 Subject: feat: add perlimports (#13) --- lua/conform/formatters/perlimports.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/conform/formatters/perlimports.lua (limited to 'lua/conform/formatters') 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", + }, +} -- cgit v1.2.3-70-g09d2