aboutsummaryrefslogtreecommitdiffstats
path: root/queries/php
Commit message (Collapse)AuthorAgeFilesLines
* highlights(php): use `lua-match?`Ananda Umamil2023-02-121-2/+2
| | | | Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
* highlights(php): remove typedef capture from `as`Ananda Umamil2023-02-121-1/+1
|
* highlights(php): fix `@constant` queriesAnanda Umamil2023-02-121-7/+9
|
* highlights(php): fix queries related to namespacesAnanda Umamil2023-02-121-11/+22
|
* highlights(php): `instanceof` operandAnanda Umamil2023-01-281-0/+3
|
* Use `@parameter` captureAnanda Umamil2023-01-281-1/+1
|
* Apply the suggestion from @Lucario387Ananda Umamil2023-01-281-3/+1
| | | Co-authored-by: Lucario387 <hoangtun0810@gmail.com>
* highlights(php): declare directives and `:`Ananda Umamil2023-01-281-0/+7
|
* feat(php): improve indents for match and switch (#3953)gbprod2022-12-091-0/+3
|
* fix(php): add missing php fold querygbprod2022-12-061-0/+1
|
* highlights(php): use more specific groupsObserverOfTime2022-11-261-7/+10
|
* improve php variables and $this highlightsNikita Sklyarov2022-11-251-3/+2
|
* Add regex injections for php (#3592)gbprod2022-10-281-1/+7
|
* feat(php): add queries for bash injectionsgbprod2022-10-121-0/+11
| | | | | This commit allows to inject bash syntax into relevant function arguments and shell expression.
* feat(php): improve php foldsgbprod2022-10-121-3/+12
|
* fix(php): add indent for enumsgbprod2022-10-101-0/+1
|
* Fix php indent for short array declarationgbprod2022-10-061-0/+1
|
* highlights(php): add spellLaytan Laats2022-09-261-2/+2
|
* Split func/method definition from calls in several programming language querieslfenzo2022-08-031-4/+4
|
* highlights(php): highlight more string types and escapes (#3226)Matty Patatty2022-07-271-2/+4
|
* highlights(php): highlight readonly keywordshirasaka2022-06-041-0/+1
|
* indents(php): @auto on comment and ERRORprzepompownia2022-05-151-1/+3
| | | | | | | | | | Currently with ```vim setlocal autoindent setlocal smartindent ``` in `after/indent/php.vim` it allows correct indentation inside PHP docblocks.
* highlights(php): improve highlight for attributesnsfisis2022-05-131-0/+4
|
* highlights(php): argument name as parameterWilman Barrios2022-03-171-0/+3
|
* highlights(php): add namespace aliasing name as typeWilman Barrios2022-02-261-0/+1
|
* highlights(php): highlight use declaration name as typeWilman Barrios2022-02-191-0/+2
|
* highlights(php): highlight traits names as typeWilman Barrios2022-02-191-0/+2
|
* indents(php): don't use aligned_indent for phpStephan Seitz2022-02-131-5/+2
| | | | Fixes #2497
* indents(php): add another testStephan Seitz2022-02-051-3/+5
|
* indents(php): align with C indentationStephan Seitz2022-01-241-3/+2
| | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
* parsers: add phpdoc parser (experimental)Michael Härtl2022-01-201-1/+1
|
* fix(php) match magic and single letter constantsMichael Härtl2022-01-191-1/+3
|
* 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
|