mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
highlights(hack): fix captures
This commit is contained in:
parent
bedc763361
commit
6725bef5ce
3 changed files with 29 additions and 20 deletions
|
|
@ -2,21 +2,21 @@ class Box<T> {
|
|||
// ^ type
|
||||
// ^ type
|
||||
protected T $data;
|
||||
// ^ keyword
|
||||
// ^ type.qualifier
|
||||
// ^ type
|
||||
|
||||
public function __construct(T $data) {
|
||||
// ^ type
|
||||
// ^ parameter
|
||||
// ^ keyword.function
|
||||
// ^ keyword
|
||||
// ^ type.qualifier
|
||||
// ^ method
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
public function getData(): T {
|
||||
// ^ method
|
||||
// ^ keyword
|
||||
// ^ type.qualifier
|
||||
return $this->data;
|
||||
// ^ operator
|
||||
// ^ variable.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue