Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions resources/fixtures/scopes/talon/functionCall2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
foo:
key(enter)
---

[Content] =
[Domain] = 1:4-1:14
>----------<
1| key(enter)

[Removal] = 0:4-1:14
>
0| foo:
1| key(enter)
--------------<

[Leading delimiter] = 1:0-1:4
>----<
1| key(enter)

[Insertion delimiter] = " "
18 changes: 18 additions & 0 deletions resources/fixtures/scopes/talon/functionCallee2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
foo:
key(enter)
---

[Content] =
[Removal] = 1:4-1:7
>---<
1| key(enter)

[Leading delimiter] = 1:0-1:4
>----<
1| key(enter)

[Domain] = 1:4-1:14
>----------<
1| key(enter)

[Insertion delimiter] = " "
1 change: 1 addition & 0 deletions resources/queries/talon.scm
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
(key_action)
(sleep_action)
] @functionCallee @_.domain
;; There is no node just for the function callee, so we have to shrink the function call to just the callee
(#shrink-to-match! @functionCallee "\\w+")
)

Expand Down
Loading