Skip to content

Releases

Candela v2.0.0

Choose a tag to compare

@kicanter kicanter released this 29 Mar 07:16

A complete rewrite of the Candela UI with a buffer-editing approach to pattern management.

New

  • Buffer-direct editing: manage patterns by editing them directly in the UI buffer. Add a line, delete a line, edit in place, :w to apply. No more prompt windows.
  • Zero config required: just add the plugin. No setup() call needed.
  • Pattern selection: select patterns with <Tab>, then operate on the selection with vim match or location list. <C-A> to select/deselect all.
  • Flexible lightbox: open in any split style per-call: :Candela lightbox tab, :Candela lightbox split-right, etc.
  • Help menu: g? in the UI shows all keymaps.
  • Color autocomplete: change colors with tab completion for palette colors and swatch names.
  • Nerd font support: auto-detected via vim.g.have_nerd_font or set icons.nerd_font = true.
  • Type hints: ---@type Candela.Config gives full lua_ls autocomplete in your config.
  • 135 unit tests with automated CI.

Breaking Changes

  • match renamed to vimmatch, find renamed to loclist
  • match_all and find_all removed — use pattern select_all (Ctrl-A in UI) instead
  • lightbox.view config option renamed to lightbox.default_view
  • Removed config options: min_count_width, toggle_width, prompt_offset, delete_confirmation, clear_confirmation
  • <Plug>CandelaAdd, <Plug>CandelaMatchAll, <Plug>CandelaFindAll removed
  • Module renames: pattern_list → patterns, finder → locator

Demo

candela-demo.webm

Full Changelog: v1.0.0...v2.0.0

Candela v2.0.0-alpha.5

Pre-release

Choose a tag to compare

@kicanter kicanter released this 25 Mar 23:14

Highlights

  • Lightbox view as parameter — open the lightbox in any split style per-call. :Candela lightbox tab, :Candela lightbox split-right, etc. No more locked-in config.
  • Help menu — press g? in the UI to see all keymaps.
  • Color autocomplete — <M-c> to change color with tab completion for palette colors and swatch names.
  • Nerd font detection — set icons.nerd_font = true in your config.
  • Config type hints — full lua_ls autocomplete when writing your config with ---@type Candela.Config.

Changes

  • Lightbox view config option replaced with default_view (used by UI keymap) and per-call toggle(view) / open(view) API
  • <M-l> opens lightbox from UI, <M-c> changes color (avoids <C-c> conflicts)
  • Fixed title header alignment drifting after repeated toggles
  • Icons resolved at setup via default_icons(nerd_font) instead of inline ternary
  • Added config_partial.lua for strict/partial type annotations

Breaking

  • lightbox.view config option removed — use lightbox.default_view instead
  • lightbox.init() removed — lightbox.open(view) / lightbox.toggle(view) replace it

Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.5

Candela v2.0.0-alpha.4

Pre-release

Choose a tag to compare

@kicanter kicanter released this 20 Mar 21:56

Added selection, vimmatch, and loclist; replace match_all/find_all
Selection system with <Tab>/<S-Tab> toggle (with cursor advance),
<C-a> select all/deselect all. Selection icons rendered via reserved
extmark IDs in entry_ns for correct ordering before /regex/ slashes.
Selection state cleared on :w, ESC close, and after operations.

Renamed match -> vimmatch, find -> loclist. Removed match_all and
find_all in favor of select_all + operate on selected. vimmatch and
loclist act on selected patterns if any, otherwise current line.

Old UI

candelav1-ui-select

New UI

candelav2-ui-select

Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4

Candela v2.0.0-alpha.3

Pre-release

Choose a tag to compare

@kicanter kicanter released this 20 Mar 21:54
  • added inner padding to the count column and added outer padding between the color, highlight, and lightbox columns
  • wired import() and export() to UI
  • moved all UI keymaps to function in init.lua

Full Changelog: v2.0.0-alpha.2...v2.0.0-alpha.3

Candela v2.0.0-alpha.2

Pre-release

Choose a tag to compare

@kicanter kicanter released this 20 Mar 01:16

Updated UI to reestablish parity with V1.

Old UI

candelav1-ui-noselect

New UI

candelav2-ui-noselect

summary:

  • Right-aligned virtual text decorations (count, color swatch, HL/LB toggles)
  • Inline /regex/ slashes as virtual text
  • Dynamic window title with column headers aligned to decorations
  • Reactive window height (grows/shrinks with buffer lines via TextChanged)
  • VimResized support with recalculated width/height
  • Window config options wired (width, min_height, max_height, margin)
  • Line numbers, relativenumber (respects user setting), cursorline
  • Disabled auto-indent/format on UI buffer

Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2

Candela v2.0.0-alpha.1

Pre-release

Choose a tag to compare

@kicanter kicanter released this 19 Mar 02:15

From PR #3

Complete architecture overhaul. Alpha, expect bugs.

What's new

  • No setup() required — just add the plugin and go, configure only if you want to override defaults
  • Buffer-direct editing — patterns are displayed in an editable floating buffer; add, edit, or delete regexes directly, then :w to apply
  • Lazy loading — nothing loads until first use
  • 115 unit tests with CI via GitHub Actions

What changed

  • pattern_list.lua → patterns.lua (flat dictionary, no ordering)
  • finder.lua → locator.lua
  • mappings.lua and window.lua removed
  • UI rewritten from scratch (single buffer, no multi-window layout)
  • All modules decoupled — UI is a pure view layer
  • Commands accept index or regex interchangeably

What's not ready yet

  • Virtual text decorations (color swatches, match counts, toggle icons)
  • Persistent pattern store
  • Help window
  • Updated documentation
  • Lot of keymap wiring for features (import/export, selections, match/find, lightbox, etc.)

Breaking changes

  • Internal module paths changed — if you require() candela modules directly, update your paths
  • CandelaAdd removed — adding is done through the buffer or :Candela add
candelav2-earlyalpha

Candela v1.0.0

Choose a tag to compare

@kicanter kicanter released this 26 Oct 21:34
2797d0b
Added logo

Updated section headers for better clarity and consistency.