Christian Clason
|
e58bbe83f9
|
lint(locals): use #set! to keep query linter happy
|
2023-06-22 08:39:17 +02:00 |
|
Pham Huy Hoang
|
f7e8b7420c
|
fix(php_inject): add missing @combined to text
|
2023-04-14 13:23:37 -04:00 |
|
George Harker
|
cb568af539
|
use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md
adjust indents for bass
fix doc capture comment
|
2023-03-24 13:07:53 -04:00 |
|
Ananda Umamil
|
4e26fec074
|
highlights(php): use lua-match?
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
|
2023-02-12 01:23:19 -08:00 |
|
Ananda Umamil
|
0c6835ce5e
|
highlights(php): remove typedef capture from as
|
2023-02-12 01:23:19 -08:00 |
|
Ananda Umamil
|
620b947218
|
highlights(php): fix @constant queries
|
2023-02-12 01:23:19 -08:00 |
|
Ananda Umamil
|
f83f05798a
|
highlights(php): fix queries related to namespaces
|
2023-02-12 01:23:19 -08:00 |
|
Ananda Umamil
|
cf21f81274
|
highlights(php): instanceof operand
|
2023-01-28 11:32:57 +01:00 |
|
Ananda Umamil
|
a422d8508d
|
Use @parameter capture
|
2023-01-28 01:45:54 +01:00 |
|
Ananda Umamil
|
2ed316ccf4
|
Apply the suggestion from @Lucario387
Co-authored-by: Lucario387 <hoangtun0810@gmail.com>
|
2023-01-28 01:45:54 +01:00 |
|
Ananda Umamil
|
fc596733ff
|
highlights(php): declare directives and :
|
2023-01-28 01:45:54 +01:00 |
|
gbprod
|
fbc2ce9d65
|
feat(php): improve indents for match and switch (#3953)
|
2022-12-09 22:07:05 +01:00 |
|
gbprod
|
56cabb6435
|
fix(php): add missing php fold query
|
2022-12-06 10:58:45 +01:00 |
|
ObserverOfTime
|
0f866c15b4
|
highlights(php): use more specific groups
|
2022-11-26 13:17:51 +02:00 |
|
Nikita Sklyarov
|
795508b773
|
improve php variables and $this highlights
|
2022-11-25 18:22:25 +01:00 |
|
gbprod
|
287ffdccc1
|
Add regex injections for php (#3592)
|
2022-10-28 12:22:16 +00:00 |
|
gbprod
|
82767f3f33
|
feat(php): add queries for bash injections
This commit allows to inject bash syntax into relevant function arguments
and shell expression.
|
2022-10-12 22:38:03 +02:00 |
|
gbprod
|
3cb46f0c81
|
feat(php): improve php folds
|
2022-10-12 22:36:57 +02:00 |
|
gbprod
|
3096e637c8
|
fix(php): add indent for enums
|
2022-10-10 23:01:22 +02:00 |
|
gbprod
|
84e23bd979
|
Fix php indent for short array declaration
|
2022-10-06 08:55:11 -04:00 |
|
Laytan Laats
|
4303c1af69
|
highlights(php): add spell
|
2022-09-26 23:23:21 +01:00 |
|
lfenzo
|
c784720917
|
Split func/method definition from calls in several programming language queries
|
2022-08-03 12:05:30 -07:00 |
|
Matty Patatty
|
36ee4890c4
|
highlights(php): highlight more string types and escapes (#3226)
|
2022-07-27 07:48:01 +00:00 |
|
shirasaka
|
e4df4228b7
|
highlights(php): highlight readonly keyword
|
2022-06-04 17:53:59 +02:00 |
|
przepompownia
|
1cec3899f5
|
indents(php): @auto on comment and ERROR
Currently with
```vim
setlocal autoindent
setlocal smartindent
```
in `after/indent/php.vim` it allows correct indentation
inside PHP docblocks.
|
2022-05-15 14:52:43 +02:00 |
|
nsfisis
|
4d53ee5c05
|
highlights(php): improve highlight for attributes
|
2022-05-13 18:46:32 +02:00 |
|
Wilman Barrios
|
fd92e70c69
|
highlights(php): argument name as parameter
|
2022-03-17 21:09:15 +01:00 |
|
Wilman Barrios
|
689a078f91
|
highlights(php): add namespace aliasing name as type
|
2022-02-26 16:05:22 +01:00 |
|
Wilman Barrios
|
6d44cc06f4
|
highlights(php): highlight use declaration name as type
|
2022-02-19 20:00:31 +01:00 |
|
Wilman Barrios
|
c0783485e8
|
highlights(php): highlight traits names as type
|
2022-02-19 18:26:05 +01:00 |
|
Stephan Seitz
|
3fbf280e34
|
indents(php): don't use aligned_indent for php
Fixes #2497
|
2022-02-13 12:19:54 +01:00 |
|
Stephan Seitz
|
992926ab99
|
indents(php): add another test
|
2022-02-05 18:54:55 +01:00 |
|
Stephan Seitz
|
ae4c982f94
|
indents(php): align with C indentation
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
|
2022-01-24 22:33:41 +01:00 |
|
Michael Härtl
|
d7c4ae886d
|
parsers: add phpdoc parser (experimental)
|
2022-01-20 15:37:44 +01:00 |
|
Michael Härtl
|
983c46d55c
|
fix(php) match magic and single letter constants
|
2022-01-19 19:17:01 +01:00 |
|
Michael Härtl
|
723d91e821
|
highlights(php): detect constructor calls on instantiation
|
2022-01-17 21:38:40 +01:00 |
|
Infectos
|
1da55c27cc
|
fix(php): change query for @constructor group
|
2022-01-16 12:02:24 +01:00 |
|
Michael Härtl
|
749f72d351
|
highlights(php): fix and add missing highlights
|
2022-01-15 12:32:03 +01:00 |
|
Santos Gallegos
|
9025d96159
|
PHP: highlight unset
Similar to 57f855461a/grammar.js (L130-L132)
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/2156
|
2021-12-23 21:02:51 +01:00 |
|
Lewis Russell
|
011ac894ec
|
Prefer lua-match over match
as string.find is much quicker than vim.regex:match*
|
2021-11-23 10:02:06 +01:00 |
|
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 |
|