ZIm/extensions/haskell/languages/haskell/textobjects.scm
Conrad Irwin 1fccda7b8d
Add text objects to extensions (#21488)
Release Notes:

- Adds textobject support to erlang, haskell, lua, php, prisma, proto,
toml, and zig
2024-12-03 13:56:25 -07:00

12 lines
206 B
Scheme

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