diff --git a/lua/astrocommunity/pack/php/README.md b/lua/astrocommunity/pack/php/README.md index 2c89f4655..6fbd64035 100644 --- a/lua/astrocommunity/pack/php/README.md +++ b/lua/astrocommunity/pack/php/README.md @@ -1,7 +1,10 @@ # PHP Language Pack +**Note:** Installation of `phpactor` requires `composer` + This plugin pack does the following: - Adds `php` Treesitter parsers - Adds `phpactor` language servers +- Adds `php-cs-fixer` for formatting - Adds `php-debug-adapter` for debugging diff --git a/lua/astrocommunity/pack/php/init.lua b/lua/astrocommunity/pack/php/init.lua index 3c82cbf8f..4b1d37d52 100644 --- a/lua/astrocommunity/pack/php/init.lua +++ b/lua/astrocommunity/pack/php/init.lua @@ -16,4 +16,8 @@ return { "jay-babu/mason-nvim-dap.nvim", opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "php") end, }, + { + "jay-babu/mason-null-ls.nvim", + opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "php-cs-fixer") end, + }, }