From e03356f6f778b11df4ccef4a15e777c3a4b503ac Mon Sep 17 00:00:00 2001 From: Raoul Wols Date: Thu, 19 Oct 2023 14:48:28 +0200 Subject: [PATCH] Update plugin/core/sessions.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rafał Chłodnicki --- plugin/core/sessions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/core/sessions.py b/plugin/core/sessions.py index 95da1177a..08b8ee996 100644 --- a/plugin/core/sessions.py +++ b/plugin/core/sessions.py @@ -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: