Wilman Barrios
6cd6a29213
Fix method access using php nullsafe operator ( #1773 )
2021-08-30 22:06:09 -05:00
Wilman Barrios
1e4c846d01
highlights(php): add missings operators ?-> and => ( #1729 )
...
This will:
- add nullsafe `?->` as `@operator`
- add separator for associative arrays `=>` as `@operator`
2021-08-26 12:15:09 -05:00
Wilman Barrios
af96150a2d
highlights(php): add instanceof as @keyword ( #1728 )
2021-08-21 05:05:01 +00:00
antonk52
90f15d9bf7
feat(keywords) merge return and yield into keyword.return group
2021-07-04 21:49:17 +02:00
antonk52
bd9095e969
feat(keywords) add keyword.return & keyword.yield
2021-07-04 21:49:17 +02:00
Wilman Barrios
486c86f1cd
Add support for match expression in PHP ( #1482 )
2021-07-04 12:52:29 -05:00
tk-shirasaka
fe47dbe02b
Adds support for PHP's arrow funcion ( #1427 )
...
Co-authored-by: shirasaka <shirasaka@n-create.co.jp>
2021-06-28 10:10:58 -05:00
elianiva
88bd7f5cb3
fix(php): highlights function call expression
2021-05-19 19:41:21 +02:00
Stephan Seitz
4dcc3fb4b3
Update queries/php/highlights.scm
...
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-05-17 13:27:58 +02:00
Stephan Seitz
fe8264e3f6
highlights/locals(php): rename type_name -> named_type
2021-05-17 13:27:58 +02:00
Santos Gallegos
67f0857015
Revert "Comment: use @combined to create just one tree per buffer ( #1252 )"
...
This reverts commit 4a7a713c52 .
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer ( #1252 )
...
* 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
2021-04-28 07:19:07 -05:00
shirasaka
71e3391a8c
Add indents for php
2021-03-22 18:02:10 +01:00
Stephan Seitz
6cd211f647
Mark several invalid queries
2021-03-16 18:52:43 +01:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
shirasaka
1b7cfc1b71
Add injections to PHP
2020-11-24 08:03:16 +01:00
Stephan Seitz
bcf421b4e7
Fix #307 : Use and document TSVariable/TSVariableBuiltin in all languages
2020-09-14 18:27:20 +02:00
Santos Gallegos
50991e370b
Folds: rename query files to folds.scm to be consistent
...
We use plural names for all query files except folds.
2020-09-14 18:26:30 +02:00
Shirasaka
8be4fb059e
Update PHP query
2020-09-12 13:15:48 +02:00
Thomas Vigouroux
b90e520ccd
ci: fix wrong queries
2020-09-11 12:02:35 +02:00
Steven Sojka
ce43dbf54c
fix(queries): use vim-match for non lua regexes
2020-08-16 18:31:56 +02:00
Shirasaka
dccc250add
PHP: Update locals query
2020-08-05 21:28:50 +02:00
Shirasaka
f372e2ab87
Add PHP, TOML, and update HTML, javascript queries
...
- PHP : Add highlights and locals query
- TOML : Add highlights and locals query
- HTML : Add scope
- javascript : Add some scopes
2020-08-04 08:05:51 +02:00