Skip to content

Commit

Permalink
Update plugin/core/sessions.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rafał Chłodnicki <[email protected]>
  • Loading branch information
rwols and rchl authored Oct 19, 2023
1 parent 86c63ce commit e03356f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/core/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,9 @@ def notify_plugin_on_session_buffer_change(self, session_buffer: SessionBufferPr
if self._plugin:
self._plugin.on_session_buffer_changed_async(session_buffer)

def _maybe_resolve_code_action(self, code_action: CodeAction, view: Optional[sublime.View]) -> Promise[Union[CodeAction, Error]]:
def _maybe_resolve_code_action(
self, code_action: CodeAction, view: Optional[sublime.View]
) -> Promise[Union[CodeAction, Error]]:
if "edit" not in code_action:
has_capability = self.has_capability("codeActionProvider.resolveProvider")
if not has_capability and view:
Expand Down

0 comments on commit e03356f

Please sign in to comment.