assistant: Add annotations to more languages (#15866)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-08-07 13:47:21 +02:00 committed by GitHub
parent 8aa1ba8cbc
commit 2db2b636f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 27 additions and 9 deletions

6
Cargo.lock generated
View file

@ -13971,7 +13971,7 @@ dependencies = [
[[package]] [[package]]
name = "zed_gleam" name = "zed_gleam"
version = "0.1.3" version = "0.1.4"
dependencies = [ dependencies = [
"html_to_markdown 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "html_to_markdown 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"zed_extension_api 0.0.7", "zed_extension_api 0.0.7",
@ -13993,7 +13993,7 @@ dependencies = [
[[package]] [[package]]
name = "zed_html" name = "zed_html"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"zed_extension_api 0.0.6", "zed_extension_api 0.0.6",
] ]
@ -14014,7 +14014,7 @@ dependencies = [
[[package]] [[package]]
name = "zed_php" name = "zed_php"
version = "0.1.2" version = "0.1.3"
dependencies = [ dependencies = [
"zed_extension_api 0.0.6", "zed_extension_api 0.0.6",
] ]

View file

@ -68,3 +68,5 @@
")" @context)))) ")" @context))))
] ]
) @item ) @item
(comment) @annotation

View file

@ -147,3 +147,5 @@
")" @context))) ")" @context)))
] ]
(type_qualifier)? @context) @item (type_qualifier)? @context) @item
(comment) @annotation

View file

@ -1,3 +1,4 @@
(comment) @annotation
(type_declaration (type_declaration
"type" @context "type" @context
(type_spec (type_spec

View file

@ -71,3 +71,5 @@
) )
) )
) @item ) @item
(comment) @annotation

View file

@ -1,3 +1,5 @@
(decorator) @annotation
(class_definition (class_definition
"class" @context "class" @context
name: (identifier) @name name: (identifier) @name

View file

@ -74,3 +74,5 @@
) )
) )
) @item ) @item
(comment) @annotation

View file

@ -74,3 +74,5 @@
) )
) )
) @item ) @item
(comment) @annotation

View file

@ -1,6 +1,6 @@
[package] [package]
name = "zed_gleam" name = "zed_gleam"
version = "0.1.3" version = "0.1.4"
edition = "2021" edition = "2021"
publish = false publish = false
license = "Apache-2.0" license = "Apache-2.0"

View file

@ -1,7 +1,7 @@
id = "gleam" id = "gleam"
name = "Gleam" name = "Gleam"
description = "Gleam support." description = "Gleam support."
version = "0.1.3" version = "0.1.4"
schema_version = 1 schema_version = 1
authors = ["Marshall Bowers <elliott.codes@gmail.com>"] authors = ["Marshall Bowers <elliott.codes@gmail.com>"]
repository = "https://github.com/zed-industries/zed" repository = "https://github.com/zed-industries/zed"

View file

@ -29,3 +29,5 @@
(visibility_modifier)? @context (visibility_modifier)? @context
"const" @context "const" @context
name: (_) @name) @item name: (_) @name) @item
(statement_comment) @annotation

View file

@ -1,6 +1,6 @@
[package] [package]
name = "zed_html" name = "zed_html"
version = "0.1.1" version = "0.1.2"
edition = "2021" edition = "2021"
publish = false publish = false
license = "Apache-2.0" license = "Apache-2.0"

View file

@ -1,7 +1,7 @@
id = "html" id = "html"
name = "HTML" name = "HTML"
description = "HTML support." description = "HTML support."
version = "0.1.1" version = "0.1.2"
schema_version = 1 schema_version = 1
authors = ["Isaac Clayton <slightknack@gmail.com>"] authors = ["Isaac Clayton <slightknack@gmail.com>"]
repository = "https://github.com/zed-industries/zed" repository = "https://github.com/zed-industries/zed"

View file

@ -0,0 +1 @@
(comment) @annotation

View file

@ -1,6 +1,6 @@
[package] [package]
name = "zed_php" name = "zed_php"
version = "0.1.2" version = "0.1.3"
edition = "2021" edition = "2021"
publish = false publish = false
license = "Apache-2.0" license = "Apache-2.0"

View file

@ -1,7 +1,7 @@
id = "php" id = "php"
name = "PHP" name = "PHP"
description = "PHP support." description = "PHP support."
version = "0.1.2" version = "0.1.3"
schema_version = 1 schema_version = 1
authors = ["Piotr Osiewicz <piotr@zed.dev>"] authors = ["Piotr Osiewicz <piotr@zed.dev>"]
repository = "https://github.com/zed-industries/zed" repository = "https://github.com/zed-industries/zed"

View file

@ -42,3 +42,5 @@
) )
) )
) @item ) @item
(comment) @annotation