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.
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
MIT License
|
|
|
|
Copyright (c) 2026 Charlie Peters
|
|
Copyright (c) 2026 eleith
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|