We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@call
1 parent bb020f6 commit 0e2d5bdCopy full SHA for 0e2d5bd
queries/ecma/textobjects.scm
@@ -69,6 +69,12 @@
69
arguments: (arguments . "(" . (_) @_start (_)? @_end . ")"
70
(#make-range! "call.inner" @_start @_end)))
71
72
+((new_expression
73
+ constructor: (identifier) @_cons
74
+ arguments: (arguments . "(" . (_) @_start (_)? @_end . ")") @_args)
75
+ (#make-range! "call.outer" @_cons @_args)
76
+ (#make-range! "call.inner" @_start @_end))
77
+
78
;; blocks
79
(_ (statement_block) @block.inner) @block.outer
80
0 commit comments