-- -- Author : Dennis Eriksen -- File : perl.lua -- Created : 2024-02-22 -- local M = {} -- Use perlcritic for linting if it exists if vim.fn.executable("perlcritic") == 1 then table.insert(M, { { -- https://github.com/mfussenegger/nvim-lint "mfussenegger/nvim-lint", opts = { linters_by_ft = { perl = { "perlcritic" }, }, }, }, }) end return M