A fork of annotator.nvim (chpeters), reduced to a single primitive: a comment anchored to a line or a range of lines, in any file — code, prose, notes. Comments are scratch: they live in the buffer, never touch disk, and go away when you close the buffer or clear them. Export is how they persist. Removed from upstream: - three of four annotation kinds (suggest, delete, label) - state-backed persistence and the JSON store - hooks.export, formatter, and default mappings - runtime Snacks detection; :CommentList writes to the quickfix list - per-comment git branch/commit subprocesses 1,580 lines across 9 modules -> 716. Fixed: :CommentExport no longer clears, and the clipboard write is verified by reading the register back rather than trusting a pcall that cannot fail. Tooling: `make check` runs luacheck, stylua, lua-language-server and the test suite. CI for GitHub Actions and Woodpecker. tests/reflow.lua asserts that anchors reflow and fails by design — it is the definition of done for the next phase.
7 lines
142 B
TOML
7 lines
142 B
TOML
column_width = 100
|
|
line_endings = "Unix"
|
|
indent_type = "Spaces"
|
|
indent_width = 2
|
|
quote_style = "AutoPreferDouble"
|
|
call_parentheses = "Always"
|