Skip to content

Commit

Permalink
Expand sub piece to token (cursorless-dev#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson authored Aug 1, 2021
1 parent dff76cf commit c51bf3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modifiers/sub_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ def cursorless_subtoken(m) -> str:
except AttributeError:
range = m.cursorless_first_last_range
return {
"modifier": {"type": "subpiece", "pieceType": m.cursorless_subtoken, **range}
"selectionType": "token",
"modifier": {"type": "subpiece", "pieceType": m.cursorless_subtoken, **range},
}

0 comments on commit c51bf3c

Please sign in to comment.