From adcc5d5e25032550275da3ed135df6ad173bc7a8 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Tue, 24 Dec 2024 23:36:57 +0100 Subject: [PATCH] Add perl formatter --- dot_config/nvim/lua/plugins/format.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dot_config/nvim/lua/plugins/format.lua diff --git a/dot_config/nvim/lua/plugins/format.lua b/dot_config/nvim/lua/plugins/format.lua new file mode 100644 index 0000000..2489094 --- /dev/null +++ b/dot_config/nvim/lua/plugins/format.lua @@ -0,0 +1,11 @@ +return { + { + "stevearc/conform.nvim", + optional = true, + opts = { + formatters_by_ft = { + perl = { "perltidy" }, + }, + }, + }, +}