From 04cb7cd905f0e0c470cb2ef7a6f5f01601ff026a Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Sun, 3 Nov 2024 13:49:02 +0100 Subject: [PATCH] nvim: php: add php-cs-fixer as formatter for php files. --- nvim/lua/user/plugins/lang/php.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/lua/user/plugins/lang/php.lua b/nvim/lua/user/plugins/lang/php.lua index 82d62d0..f0784be 100644 --- a/nvim/lua/user/plugins/lang/php.lua +++ b/nvim/lua/user/plugins/lang/php.lua @@ -81,7 +81,8 @@ return { optional = true, opts = { formatters_by_ft = { - blade = { 'blade-formatter' }, + php = { 'php-cs-fixer' }, + blade = { 'blade-formatter' } } } },