From 1d311e1c799df946906c316b2cfbb500447e2379 Mon Sep 17 00:00:00 2001 From: gptlang <121417512+gptlang@users.noreply.github.com> Date: Sun, 4 Feb 2024 22:10:34 +0000 Subject: [PATCH] remove folds too --- rplugin/python3/handlers/chat_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rplugin/python3/handlers/chat_handler.py b/rplugin/python3/handlers/chat_handler.py index b60dd082..16fa76c7 100644 --- a/rplugin/python3/handlers/chat_handler.py +++ b/rplugin/python3/handlers/chat_handler.py @@ -120,6 +120,8 @@ def _add_regular_start_separator( ) self.buffer.append(start_separator.split("\n")) + if no_annoyance: + return self._add_folds(code, code_height, last_row_before, system_prompt_height, winnr) def _add_start_separator_with_token_count(