Skip to content

Responsive synopsis - #4

Open
olfMombach wants to merge 3 commits into
albertlauncher:mainfrom
olfMombach:responsive-synopsis
Open

Responsive synopsis#4
olfMombach wants to merge 3 commits into
albertlauncher:mainfrom
olfMombach:responsive-synopsis

Conversation

@olfMombach

Copy link
Copy Markdown

Optional addition for #1

@olfMombach
olfMombach requested a review from a team as a code owner August 27, 2026 12:47
@olfMombach
olfMombach requested review from BarrensZeppelin, Bierchermuesli and vmaerten and a lite review from Copilot August 27, 2026 12:47
@olfMombach olfMombach mentioned this pull request Aug 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the plugin’s query synopsis to reflect whether language metadata is available, avoiding a misleading “from/to” hint when language lists can’t be loaded.

Changes:

  • Initialize src_languages / dst_languages to empty sets before attempting ts.get_languages(...).
  • Make synopsis() return "<text>" when language sets are unavailable; otherwise keep "[[from] to] text".

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants