Move zed::languages to separate crate
This commit is contained in:
parent
8375eea546
commit
fdbf32b11c
293 changed files with 194 additions and 111 deletions
24
crates/languages/src/go/embedding.scm
Normal file
24
crates/languages/src/go/embedding.scm
Normal file
|
@ -0,0 +1,24 @@
|
|||
(
|
||||
(comment)* @context
|
||||
.
|
||||
(type_declaration
|
||||
(type_spec
|
||||
name: (_) @name)
|
||||
) @item
|
||||
)
|
||||
|
||||
(
|
||||
(comment)* @context
|
||||
.
|
||||
(function_declaration
|
||||
name: (_) @name
|
||||
) @item
|
||||
)
|
||||
|
||||
(
|
||||
(comment)* @context
|
||||
.
|
||||
(method_declaration
|
||||
name: (_) @name
|
||||
) @item
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue