docmap.nvim
Point it at a repository and it produces a module map: an interactive HTML page, a Markdown overview, a deterministic JSON artifact, and a set of drift checks that fail CI when the documentation and the code stop agreeing.
- status
- beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
- category
- Project & repos
- neovim
- 0.11+
- repo
- github.com/WKDSteve/docmap.nvim
- commits
- 759
- help
- :help docmap
demo
demos/docmap.tape in a clean Neovim — re-recorded weekly
what is shown when
- :DocMap mermaid tree - the module tree of the repo you are in
- :DocMap mermaid deps - the require graph, ready for a README
install
{
"WKDSteve/docmap.nvim",
opts = {},
} also as
- native app: docmap-desktop — A desktop workspace for the module maps docmap.nvim generates: add several projects, look at any of them, switch between them quickly.
docs/
- BINDINGS.md
- CONTRIBUTING.md
- DEVELOPMENT.md
- FEATURE_LOG.md
- README.md
- SECURITY.md
- WORKFLOW.md
- annotation_tags.md
- annotations.md
- api.md
- around-it.md
- call_hierarchy.md
- checklist_format.md
- commands.md
- configuration.md
- ecosystem.md
- features_format.md
- framework_conventions.md
- health.md
- hosting.md
- hover.md
- i18n.md
- installation.md
- integrations.md
- languages.md
- mcp.md
- pipeline.md
- quickstart.md
- requirements.md
- reuse.md
- tabs.md
- testing-contract.md
- what-you-get.md
git log
- fix scan: remember one parsed tree per grammar, not every tree
- perf scan: parse each source once per scan, find comments and calls by query
- refactor mcp: serve through lib.nvim.mcp.server
- test config: drop the stale telemetry entry from guard_allow.fs
- test telemetry: clear the store where runtime-analysis keeps it now
- fix standalone: the shim's vim.fn.system runs git formats with % on Windows the git_run way
- fix ci: the standalone gate skips the history routes where git cannot read HEAD
- fix standalone: git_run moves --pretty=<placeholders> too, and its temp file name differs per process
- fix release: the shape probe reads the committed map, and a route probe that misses its module stops the build
- fix standalone: git formats with % run on Windows through a named pretty format
- docs regenerate the connection pictures (optional loads through probe/safe/package.loaded)
- fix test: api_spec's no-map check does not read the machine's rules vault