blob: 2a0852486a42de38b91ac4d0aea5f1f4919fa78f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
; Vendored from helix (https://github.com/helix-editor/helix) at 278b24389:
; runtime/queries/haskell/textobjects.scm.
; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE,
; https://mozilla.org/MPL/2.0/).
(comment) @comment.inside
(comment)+ @comment.around
(newtype
(newtype_constructor
(_) @class.inside)) @class.around
(data_type
constructors: (_) @class.inside) @class.around
(decl/function
(match expression:(_) @function.inside)) @function.around
(lambda
expression:(_) @function.inside) @function.around
(decl/function
patterns: (patterns
(_) @parameter.inside))
(expression/lambda
patterns: (patterns
(_) @parameter.inside))
(decl/function
(infix
(pattern) @parameter.inside))
|