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_zig"
version = "0.3.1"
version = "0.3.2"
edition = "2021"
publish = false
license = "Apache-2.0"
+1 -1
View File
@@ -1,7 +1,7 @@
id = "zig"
name = "Zig"
description = "Zig support."
version = "0.3.1"
version = "0.3.2"
schema_version = 1
authors = ["Allan Calix <contact@acx.dev>"]
repository = "https://github.com/zed-industries/zed"
@@ -0,0 +1,27 @@
(function_declaration
body: (_
"{"
(_)* @function.inside
"}")) @function.around
(test_declaration
(block
"{"
(_)* @function.inside
"}")) @function.around
(variable_declaration
(struct_declaration
"struct"
"{"
[(_) ","]* @class.inside
"}")) @class.around
(variable_declaration
(enum_declaration
"enum"
"{"
(_)* @class.inside
"}")) @class.around
(comment)+ @comment.around