mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
updated embedding treesitter query for python
This commit is contained in:
parent
7d634f66e2
commit
6f1e988cb9
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 New Issue
Block a user