Skip to content

Candela v2.0.0

Latest

Choose a tag to compare

@kicanter kicanter released this 29 Mar 07:16
· 4 commits to main since this release

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