Use new Tree-sitter captures API
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
43ddb6f640
commit
5d2ac3f4e4
@@ -1,5 +1,7 @@
|
||||
(type_identifier) @type
|
||||
|
||||
(field_identifier) @property
|
||||
|
||||
(call_expression
|
||||
function: [
|
||||
(identifier) @function
|
||||
@@ -9,8 +11,6 @@
|
||||
field: (field_identifier) @function.method)
|
||||
])
|
||||
|
||||
(field_identifier) @property
|
||||
|
||||
(function_item
|
||||
name: (identifier) @function.definition)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user