mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim php: split main file as it starts to get abit big
This commit is contained in:
parent
61ef12eff1
commit
bb62416c69
7 changed files with 164 additions and 142 deletions
14
nvim/lua/user/plugins/lang/php/format.lua
Normal file
14
nvim/lua/user/plugins/lang/php/format.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
return {
|
||||
require 'user.utils.mason'.ensure_installed({'pint', 'php-cs-fixer'}),
|
||||
{
|
||||
'stevearc/conform.nvim',
|
||||
optional = true,
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
php = { 'php-cs-fixer', 'pint' },
|
||||
blade = { 'blade-formatter' }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue