Add text objects to extensions (#21488)

Release Notes:

- Adds textobject support to erlang, haskell, lua, php, prisma, proto,
toml, and zig
This commit is contained in:
Conrad Irwin
2024-12-03 13:56:25 -07:00
committed by GitHub
parent 463c99b503
commit 1fccda7b8d
26 changed files with 170 additions and 25 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "zed_prisma"
version = "0.0.3"
version = "0.0.4"
edition = "2021"
publish = false
license = "Apache-2.0"
+1 -1
View File
@@ -1,7 +1,7 @@
id = "prisma"
name = "Prisma"
description = "Prisma support."
version = "0.0.3"
version = "0.0.4"
schema_version = 1
authors = ["Matthew Gramigna <matthewgramigna@gmail.com>"]
repository = "https://github.com/zed-industries/zed"
@@ -0,0 +1,25 @@
(model_declaration
(statement_block
"{"
(_)* @class.inside
"}")) @class.around
(datasource_declaration
(statement_block
"{"
(_)* @class.inside
"}")) @class.around
(generator_declaration
(statement_block
"{"
(_)* @class.inside
"}")) @class.around
(enum_declaration
(enum_block
"{"
(_)* @class.inside
"}")) @class.around
(developer_comment)+ @comment.around