Skip to content

Conversation

kennyfrc
Copy link

What this does

  • Adds configurable paste summary thresholds under experimental.editor.summary_thresholds
  • Allows users to customize when pasted text gets converted
  • Maintains current default of 3 lines / 150 characters

Use Case

I use a lot of speech-to-text when programming with OpenCode. Oftentimes, the generated text exceeds the 150 character default, leading it to be truncated. That can be a problem as I might need to do some minor edits on the pasted text.

Configuration Example

{
  "experimental": {
    "editor": {
      "summary_thresholds": {
        "lines": 8,
        "chars": 1024
      }
    }
  }
}

@kennyfrc kennyfrc force-pushed the summary-threshold branch 8 times, most recently from cbfb28a to f957bc5 Compare August 22, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant