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:
parent
463c99b503
commit
1fccda7b8d
26 changed files with 170 additions and 25 deletions
12
extensions/haskell/languages/haskell/textobjects.scm
Normal file
12
extensions/haskell/languages/haskell/textobjects.scm
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue