Skip to content

Commit 4572a34

Browse files
committed
feat(laravel): add Pint formatter support
1 parent 633ae88 commit 4572a34

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

lua/astrocommunity/pack/laravel/init.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,20 @@ return {
7171
},
7272
ft = { "blade", "php" },
7373
},
74+
{
75+
"WhoIsSethDaniel/mason-tool-installer.nvim",
76+
optional = true,
77+
opts = function(_, opts)
78+
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "pint" })
79+
end,
80+
},
81+
{
82+
"stevearc/conform.nvim",
83+
optional = true,
84+
opts = {
85+
formatters_by_ft = {
86+
php = { "pint" },
87+
},
88+
},
89+
},
7490
}

0 commit comments

Comments
 (0)