aboutsummaryrefslogtreecommitdiffstats
path: root/queries/php
Commit message (Collapse)AuthorAgeFilesLines
...
* highlights(php): detect constructor calls on instantiationMichael Härtl2022-01-171-5/+7
|
* fix(php): change query for @constructor groupInfectos2022-01-161-2/+3
|
* highlights(php): fix and add missing highlightsMichael Härtl2022-01-151-7/+61
|
* PHP: highlight unsetSantos Gallegos2021-12-231-0/+1
| | | | | | Similar to https://github.com/tree-sitter/tree-sitter-php/blob/57f855461aeeca73bd4218754fb26b5ac143f98f/grammar.js#L130-L132 Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/2156
* Prefer lua-match over matchLewis Russell2021-11-231-1/+1
| | | | as string.find is much quicker than vim.regex:match*
* Fix method access using php nullsafe operator (#1773)Wilman Barrios2021-08-301-0/+3
|
* highlights(php): add missings operators `?->` and `=>` (#1729)Wilman Barrios2021-08-261-0/+3
| | | | | | This will: - add nullsafe `?->` as `@operator` - add separator for associative arrays `=>` as `@operator`
* highlights(php): add `instanceof` as `@keyword` (#1728)Wilman Barrios2021-08-211-0/+1
|
* feat(keywords) merge return and yield into keyword.return groupantonk522021-07-041-3/+1
|
* feat(keywords) add keyword.return & keyword.yieldantonk522021-07-041-1/+4
|
* Add support for `match` expression in PHP (#1482)Wilman Barrios2021-07-041-0/+1
|
* Adds support for PHP's arrow funcion (#1427)tk-shirasaka2021-06-281-2/+9
| | | Co-authored-by: shirasaka <shirasaka@n-create.co.jp>
* fix(php): highlights function call expressionelianiva2021-05-191-0/+3
|
* Update queries/php/highlights.scmStephan Seitz2021-05-171-2/+2
| | | Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
* highlights/locals(php): rename type_name -> named_typeStephan Seitz2021-05-172-2/+7
|
* Revert "Comment: use `@combined` to create just one tree per buffer (#1252)"Santos Gallegos2021-05-071-1/+1
| | | | This reverts commit 4a7a713c527f57c355bc817f16fc6d955b8cce9b.
* Comment: use `@combined` to create just one tree per buffer (#1252)Santos Gallegos2021-04-281-1/+1
| | | | | | | | | | | | * Comment: use `@combined` to create just one tree per buffer There is no need to create a tree per line/block for comments. Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251 * Add injections for scss * Fix jsonc * Combine jsdoc
* Add indents for phpshirasaka2021-03-222-7/+34
|
* Mark several invalid queriesStephan Seitz2021-03-161-6/+7
|
* Add comment parser to highlight comment tags (#893)Santos Gallegos2021-03-121-1/+3
| | | Closes #236
* Add injections to PHPshirasaka2020-11-241-0/+1
|
* Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz2020-09-141-0/+4
|
* Folds: rename query files to folds.scm to be consistentSantos Gallegos2020-09-141-0/+0
| | | | We use plural names for all query files except folds.
* Update PHP queryShirasaka2020-09-122-18/+59
|
* ci: fix wrong queriesThomas Vigouroux2020-09-111-2/+2
|
* fix(queries): use vim-match for non lua regexesSteven Sojka2020-08-161-1/+1
|
* PHP: Update locals queryShirasaka2020-08-052-6/+28
|
* Add PHP, TOML, and update HTML, javascript queriesShirasaka2020-08-042-0/+213
- PHP : Add highlights and locals query - TOML : Add highlights and locals query - HTML : Add scope - javascript : Add some scopes