Repository navigation
Releases
Candela v2.0.0
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,
:wto 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_fontor seticons.nerd_font = true. - Type hints:
---@type Candela.Configgives fulllua_lsautocomplete in your config. - 135 unit tests with automated CI.
Breaking Changes
matchrenamed tovimmatch,findrenamed toloclistmatch_allandfind_allremoved — use pattern select_all (Ctrl-Ain UI) insteadlightbox.viewconfig option renamed tolightbox.default_view- Removed config options:
min_count_width,toggle_width,prompt_offset,delete_confirmation,clear_confirmation <Plug>CandelaAdd,<Plug>CandelaMatchAll,<Plug>CandelaFindAllremoved- 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
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 = truein 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.luafor strict/partial type annotations
Breaking
lightbox.viewconfig option removed — uselightbox.default_viewinsteadlightbox.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
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
New UI
Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4
Candela v2.0.0-alpha.3
- added inner padding to the count column and added outer padding between the color, highlight, and lightbox columns
- wired
import()andexport()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
Updated UI to reestablish parity with V1.
Old UI
New UI
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
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

Candela v1.0.0
Added logo Updated section headers for better clarity and consistency.