Skip to content

Commit

Permalink
feat(php): adds phpdoc treesitter parser (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lctrs authored May 7, 2024
1 parent 392038c commit 3a84cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This plugin pack does the following:

- Adds `php` Treesitter parsers
- Adds `php` and `phpdoc` Treesitter parsers
- Adds `phpactor` language servers
- Adds `php-cs-fixer` for formatting
- Adds `php-debug-adapter` for debugging
2 changes: 1 addition & 1 deletion lua/astrocommunity/pack/php/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ return {
optional = true,
opts = function(_, opts)
if opts.ensure_installed ~= "all" then
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "php" })
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "php", "phpdoc" })
end
end,
},
Expand Down

0 comments on commit 3a84cdd

Please sign in to comment.