Skip to content

Commit 350fe3a

Browse files
committed
fix: SessionBuffer.request_code_actions does not return Error
1 parent 255824b commit 350fe3a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugin/core/sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ async def request_code_actions(
850850
diagnostics: list[Diagnostic],
851851
kinds: list[str | CodeActionKind] | None = ...,
852852
trigger_kind: CodeActionTriggerKind = ...
853-
) -> list[Command | CodeAction] | Error | None:
853+
) -> list[Command | CodeAction] | None:
854854
...
855855

856856
def do_code_lenses_async(self, view: sublime.View) -> None:

plugin/session_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ async def request_code_actions(
10451045
diagnostics: list[Diagnostic],
10461046
kinds: list[str | CodeActionKind] | None = None,
10471047
trigger_kind: CodeActionTriggerKind = CodeActionTriggerKind.Automatic
1048-
) -> list[Command | CodeAction] | Error | None:
1048+
) -> list[Command | CodeAction] | None:
10491049
context: CodeActionContext = {
10501050
'diagnostics': diagnostics,
10511051
'triggerKind': trigger_kind

0 commit comments

Comments
 (0)