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 12:56:25 -08:00 committed by GitHub
parent 463c99b503
commit 1fccda7b8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 170 additions and 25 deletions

View file

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

View file

@ -1,7 +1,7 @@
id = "haskell"
name = "Haskell"
description = "Haskell support."
version = "0.1.1"
version = "0.1.2"
schema_version = 1
authors = [
"Pocæus <github@pocaeus.com>",

View file

@ -0,0 +1,12 @@
(comment)+ @comment.around
[
(adt)
(type_alias)
(newtype)
] @class.around
(record_fields "{" (_)* @class.inside "}")
((signature)? (function)+) @function.around
(function rhs:(_) @function.inside)