Skip to content

Commit 6546bf4

Browse files
Use id instead of type
1 parent fc80408 commit 6546bf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cursorless-everywhere-talon/cursorless_everywhere_talon_browser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class Actions:
2222
def cursorless_everywhere_get_editor_state() -> EditorState:
2323
command = {
24-
"type": "getEditorState",
24+
"id": "getEditorState",
2525
}
2626
res = rpc_get(command)
2727
if use_fallback(res):
@@ -32,7 +32,7 @@ def cursorless_everywhere_set_selections(
3232
selections: list[SelectionOffsets], # pyright: ignore [reportGeneralTypeIssues]
3333
):
3434
command = {
35-
"type": "setSelections",
35+
"id": "setSelections",
3636
"selections": get_serializable_selections(selections),
3737
}
3838
res = rpc_get(command)
@@ -43,7 +43,7 @@ def cursorless_everywhere_edit_text(
4343
edit: EditorEdit, # pyright: ignore [reportGeneralTypeIssues]
4444
):
4545
command = {
46-
"type": "setText",
46+
"id": "setText",
4747
"text": edit["text"],
4848
}
4949
res = rpc_get(command)

0 commit comments

Comments
 (0)