mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-16 15:11:25 +00:00
updated embedding treesitter query for python
This commit is contained in:
parent
7d634f66e2
commit
6f1e988cb9
1 changed files with 9 additions and 0 deletions
9
crates/zed/src/languages/python/embedding.scm
Normal file
9
crates/zed/src/languages/python/embedding.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
(class_definition
|
||||
"class" @context
|
||||
name: (identifier) @name
|
||||
) @item
|
||||
|
||||
(function_definition
|
||||
"async"? @context
|
||||
"def" @context
|
||||
name: (_) @name) @item
|
Loading…
Reference in a new issue