mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -04:00
highlights(hack): use @function.call/@method.call
This commit is contained in:
parent
600ac0f358
commit
d11d35fb61
2 changed files with 4 additions and 4 deletions
|
|
@ -177,14 +177,14 @@
|
||||||
(variable) @parameter)
|
(variable) @parameter)
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (qualified_identifier (identifier) @function .))
|
function: (qualified_identifier (identifier) @function.call .))
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (scoped_identifier (identifier) @function .))
|
function: (scoped_identifier (identifier) @function.call .))
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (selection_expression
|
function: (selection_expression
|
||||||
(qualified_identifier (identifier) @method .)))
|
(qualified_identifier (identifier) @method.call .)))
|
||||||
|
|
||||||
(qualified_identifier
|
(qualified_identifier
|
||||||
(_) @namespace .
|
(_) @namespace .
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ final xhp class a_post extends x\element {
|
||||||
'document.getElementById("'.$id.'").submit(); return false;',
|
'document.getElementById("'.$id.'").submit(); return false;',
|
||||||
);
|
);
|
||||||
$anchor->setAttribute('href', '#');
|
$anchor->setAttribute('href', '#');
|
||||||
// ^ method
|
// ^ method.call
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue