Skip to content

Releases

v1.0.1

Choose a tag to compare

@johanwigmo johanwigmo released this 31 Oct 22:27

Fixes the completion hang: typing @ in vault markdown froze the buffer (>120 s cold on an iCloud-backed vault, ~2 s+ warm).

Full notes in CHANGELOG.md.

v1.0.0

Choose a tag to compare

@johanwigmo johanwigmo released this 23 Oct 20:50

First stable release — the reference implementation of BulletMark spec v2.0.0. The parser is conformance-tested against the spec repository's 18 fixture cases; anything not in the spec is a diagnostic, not a guess.

What's in the box

Parser — one spec-2.0.0 tokenizer, zero vim API: all 8 item types, semantic date/time validation (leap years included), due:/defer: metadata attachment, +Project/@tag markers with the whitespace-boundary rule, event forms including cancelled events, leading YAML frontmatter skipped as opaque.

Editing — surgical, patch-based state transitions built on parser spans: cycling ([ ] → [/] → [x]) with completion-date stamping on entry and stripping on exit, raw direct-set, :[range]BulletMarkComplete[!]. Cancelling an event preserves its date/time/name — by construction, not by copying fields. Insertion follows the spec write-back rule; unrecognized lines are never pushed down.

Rendering & diagnostics — incremental, line-local extmarks (state colors, cancelled strikethrough, marker/date emphasis, italic event names and reflections); spec violations surface as WARN diagnostics with stable codes (malformed-date, extra-project, marker-at-start, …).

Activation — always / detect / manual modes with root gating (path containment on realpaths), flat strict config schema, and a smart <CR> that cycles tasks and pass-throughs everything else to your existing mapping — buffer-locally, only in attached buffers.

Search — :BulletMark +proj @tag x due_before:2026-11-01 fix login across the vault; grammar mirrors the document syntax. Telescope picker with state-colored tokens (quickfix fallback), two-level mtime/TTL cache. Measured: 2270 files / 8951 tasks — 0.7 s cold, ~0.17 s per query.

Completion — engine-agnostic collector plus a native blink.cmp v1 source (+/@ triggers), enabled only in attached buffers.

Requirements

  • Neovim 0.10+
  • Optional: telescope.nvim (search), blink.cmp v1 (completion)
  • Tests: plenary.nvim

Install

{
  "johanwigmo/bulletmark.nvim",
  lazy = false, -- :BulletMark must exist everywhere; attach is activation-scoped
  opts = {
    activate = "detect",
    roots = { "~/Documents/notes" },
    search_paths = { "~/Documents/notes" },
    completion_paths_exclude = { "archive", "done-" },
  },
}

Full documentation in :h bulletmark — check :checkhealth bulletmark after setup.

Testing

130 tests across three layers: per-module units, buffer-integration rounds, and the spec-conformance runner. License: Unlicense (matching the spec repo).