chore: carry haunt.nvim repo hygiene into the template and fix bootstrap docs #3
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
noe.trevino/template.nvim#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While bootstrapping goldmarp.nvim from the template (2026-10-07), compared it
against haunt.nvim at the same date. The CI workflow itself is identical
(both call
noe.trevino/ci/.forgejo/workflows/nvim-plugins-ci.yml@main), sonothing is broken; the template is just missing the files every new plugin
then copies by hand from haunt.nvim:
.forgejo/workflows/auto-assign.yml(assigns the maintainer and requestsreview on issues/PRs opened by others)
.forgejo/ISSUE_TEMPLATE/bug_report.yml,feature_request.yml,config.yml.forgejo/pull_request_template.md.github/ISSUE_TEMPLATE/config.yml(mirror redirect to the Forgejo issues).github/pull_request_template.mdbootstrap.shshould substitute the plugin name and the GitHub mirror URL inthese the same way it does for
ci.yml.Smaller gaps noticed:
tests/README.mdand atests/helpers/directory; thetemplate has a single
tests/helpers.lua. Worth a sentence in CONTRIBUTINGabout when to split.
the Forgejo one (last commit 2026-07-19 vs 2026-09-30) and still has
.github/workflows/ci.ymlinstead of.forgejo/workflows/ci.yml. If theGitHub repo is meant as a mirror, it needs the mirror sync; if not, archive
it so nobody clones the stale one.
Found while building goldmarp.nvim from the template (2026-10-07):
Bugs
bootstrap.shrewrites the contents ofdoc/myplugin.txtbut does notrename the file, so after bootstrap
make docsfails at helptags with aduplicate-tag error (E154). Fix:
git mv doc/myplugin.txt doc/<name>.txtin the script.
*M.setup()*tags (init.lua and config.lua), so helptags errors. One ofthem needs a different tag or
@private.make docsexits 0 when helptags fails, so CI cannot catch either of theabove.
make docsloads mini.doc from the developer's personal Neovim configrather than the
.testsharness, so it works only on a machine thathappens to have mini.doc installed.
Docs out of date
gh repo create thenoetrevino/...and refers to theshared
thenoetrevino/githubreusable workflow; CI is now Forgejonoe.trevino/ci. The lazy install snippet usesthenoetrevino/x.nvim;haunt uses
TheNoeTrevino/x.nvim.CONTRIBUTING also lacks haunt's branch naming, the local
dir =devconfig, and the module-structure section.
Smaller
.gitignoreis thinner than haunt's (*.log,*~,*.tmp,test_results/).scripts/repro.lua, a lazy.minit repro); goldmarp.nvimadded one and it is what its bug template points at.
Where the template is ahead of haunt (keep): the Makefile, the local
lazy.nvim clone fallback in
tests/minit.lua, thepending()shim, andper-describe test reporting.