diff options
author | Ollie Charles | 2022-12-10 20:03:18 +0000 |
---|---|---|
committer | GitHub | 2022-12-10 20:03:18 +0000 |
commit | 0e8ea13696206aa8ad289d539a5df62f34a73dec (patch) | |
tree | be049d55680febee6de13286b64dc303bd581726 /runtime | |
parent | f323ffabcc5846f647e3ba1d3d2ff5dec95257bd (diff) |
Add Haskell text objects (#5061)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/haskell/textobjects.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/queries/haskell/textobjects.scm b/runtime/queries/haskell/textobjects.scm new file mode 100644 index 00000000..9870dc4a --- /dev/null +++ b/runtime/queries/haskell/textobjects.scm @@ -0,0 +1,13 @@ +(comment) @comment.inside + +[ + (adt) + (decl_type) + (newtype) +] @class.around + +((signature)? (function rhs:(_) @function.inside)) @function.around +(exp_lambda) @function.around + +(adt (type_variable) @parameter.inside) +(patterns (_) @parameter.inside) |