mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-05 05:17:38 +03:00
Fix typescript angle bracket pair (#367)
This commit is contained in:
parent
b6b22f87f6
commit
8df6295238
@ -11,4 +11,5 @@ export const ALLOWABLE_ANGLE_BRACKET_PARENTS = [
|
||||
"jsx_self_closing_element",
|
||||
"self_closing_tag",
|
||||
"start_tag",
|
||||
"type_parameters",
|
||||
];
|
||||
|
@ -0,0 +1,23 @@
|
||||
languageId: typescript
|
||||
command:
|
||||
version: 0
|
||||
spokenForm: clear pair
|
||||
action: clearAndSetSelection
|
||||
targets:
|
||||
- type: primitive
|
||||
modifier: {type: surroundingPair, delimiter: any}
|
||||
initialState:
|
||||
documentContents: function hello<Foo>() {}
|
||||
selections:
|
||||
- anchor: {line: 0, character: 17}
|
||||
active: {line: 0, character: 17}
|
||||
marks: {}
|
||||
finalState:
|
||||
documentContents: function hello() {}
|
||||
selections:
|
||||
- anchor: {line: 0, character: 14}
|
||||
active: {line: 0, character: 14}
|
||||
thatMark:
|
||||
- anchor: {line: 0, character: 14}
|
||||
active: {line: 0, character: 14}
|
||||
fullTargets: [{type: primitive, mark: {type: cursor}, selectionType: token, position: contents, insideOutsideType: inside, modifier: {type: surroundingPair, delimiter: any}}]
|
Loading…
Reference in New Issue
Block a user