From 83d83f55407faced4b7665cc24501562e216138b Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Sat, 21 Sep 2024 23:46:56 +0200 Subject: [PATCH] wrap --- plugin/session_buffer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/session_buffer.py b/plugin/session_buffer.py index 1b64b1720..cf432e6af 100644 --- a/plugin/session_buffer.py +++ b/plugin/session_buffer.py @@ -687,7 +687,8 @@ def _draw_semantic_tokens_async(self) -> None: if region_key not in self.semantic_tokens.active_region_keys: self.semantic_tokens.active_region_keys.add(region_key) for sv in self.session_views: - sv.view.add_regions(f"lsp_semantic_{session_name}_{region_key}", regions, scope, flags=SEMANTIC_TOKEN_FLAGS) + sv.view.add_regions( + f"lsp_semantic_{session_name}_{region_key}", regions, scope, flags=SEMANTIC_TOKEN_FLAGS) def _get_semantic_region_key_for_scope(self, scope: str) -> int: if scope not in self._semantic_region_keys: