Skip to content

Commit

Permalink
remove folds too
Browse files Browse the repository at this point in the history
  • Loading branch information
gptlang committed Feb 4, 2024
1 parent 17bf718 commit 1d311e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rplugin/python3/handlers/chat_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1d311e1

Please sign in to comment.