summaryrefslogtreecommitdiff
path: root/runtime/queries/haskell
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/haskell')
-rw-r--r--runtime/queries/haskell/textobjects.scm13
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)