Skip to content

v0.2.1: Custom three-panel UI, 5 bugfixes

Latest

Choose a tag to compare

@ivan-hilckov ivan-hilckov released this 07 Feb 20:28
· 1 commit to main since this release

Highlights

  • Telescope removed — replaced with a custom three-panel float UI (zero external dependencies)
  • 5 UI bugfixes — fuzzy highlights, cursorline, padding, autocomplete, multiline prompts
  • 80 tests, all passing

What's New

Custom Float UI

Container frame ("BotGlue" title, model badge footer) with three borderless inner panels:

  • Filter — fuzzy search with matchfuzzypos match highlighting
  • History list — frequency-sorted, inline model tags, full-width cursorline
  • Prompt editor — multi-line, with placeholder text

Active panel indicated by yellow divider highlight. UI auto-closes on focus loss.

Bugfixes

  • Fuzzy match highlighting — correct for multi-byte UTF-8 (Cyrillic, CJK) via byteidx() conversion
  • Cursorline coverage — model tags now inline, so cursorline extends across full row
  • Symmetric padding — 1-space padding on both sides of history list entries
  • Autocomplete suppression — sets both cmp_enabled (nvim-cmp) and completion (blink.cmp) buffer vars
  • Multi-line prompts — newlines replaced with spaces in list display, preventing nvim_buf_set_lines error

Claude Interaction

  • System prompt now includes selected text for better AI context
  • _extract_result returns (result, error) tuple with graceful fallback

Requirements

Full changelog: https://github.com/heliotik/botglue.nvim/blob/main/CHANGELOG.md