docs(gap): re-audit — confirm recent fixes, log new gaps
Re-audited config / mappings / commands against vimwiki master with three parallel agents. All recent P1/P2/P3 work confirmed present and correct in both clients (no regressions). Logged new gaps the pass surfaced: - P3 commands: diary-note family lacks -count (upstream -count=0); no -complete= specs (page/tag/colour command-line completion); minor attribute gaps (NormalizeLink -nargs=?, CheckLinks -range, Colorize -nargs=* vs 1). - P3 mappings: <D-CR> (macOS Cmd+Return) tab-drop alias missing in both clients; <Leader>w<Leader>m absent from the Vim *global* map block in plugin/nuwiki.vim (present buffer-locally). - Intentional divergences: global_ext (always-on via ftdetect) and the syntax-default name (vimwiki vs default) noted so future audits skip them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -170,6 +170,20 @@ fix site.
|
||||
- [ ] **`VimwikiToggleListItem` / `Increment` / `DecrementListItem` lack
|
||||
`-range`** (both branches) vs upstream's `-range` (`:350`) — no visual-range
|
||||
checkbox toggle / symbol cycle.
|
||||
- [ ] **Diary-note family lacks `-count`** _(new, 2026-05-31 re-audit)_ — upstream's
|
||||
`:Vimwiki{Make,TabMake,MakeYesterday,MakeTomorrow}DiaryNote` carry `-count=0`
|
||||
(the count selects the wiki number); nuwiki's diary-note commands declare no
|
||||
count in either branch, and `Index`/`TabIndex` use bare `-count` vs upstream
|
||||
`-count=0`. _Fix:_ `ftplugin/vimwiki.vim` diary block (both branches) + thread
|
||||
the count into `diary_today/yesterday/tomorrow`.
|
||||
- [ ] **No `-complete=` specs** _(new)_ — upstream attaches command-line completion
|
||||
to `VimwikiGoto` (links), `VimwikiRenameFile` (files), `VimwikiColorize`
|
||||
(colours), and the tag commands. nuwiki defines none, so `<Tab>` completion of
|
||||
page / tag / colour names at the `:` line is unavailable. _Fix:_
|
||||
`ftplugin/vimwiki.vim` (both branches) — VimL completers or LSP-backed.
|
||||
- [ ] **Minor command-attribute gaps** _(new)_ — `VimwikiNormalizeLink` lacks
|
||||
upstream's `-nargs=?`; `VimwikiCheckLinks` lacks `-range`; `VimwikiColorize` is
|
||||
`-nargs=1` vs upstream `-nargs=*`. Cosmetic.
|
||||
|
||||
### Config
|
||||
- [ ] `auto_header` — auto H1-from-filename on new page (server-side).
|
||||
@@ -194,6 +208,14 @@ fix site.
|
||||
all lists; upstream `ftplugin/vimwiki.vim:553,555,561`). nuwiki has the
|
||||
lowercase forms but not the uppercase-suffix aliases. Cosmetic — same effect,
|
||||
redundant keys.
|
||||
- [ ] **`<D-CR>` (Cmd+Return) tab-drop alias** _(new, 2026-05-31 re-audit)_ —
|
||||
upstream binds both `<C-S-CR>` and the macOS `<D-CR>` to `VimwikiTabDropLink`;
|
||||
nuwiki binds only `<C-S-CR>` (both clients). Niche (macOS GUI). _Fix:_
|
||||
`lua/nuwiki/keymaps.lua`, `ftplugin/vimwiki.vim` alongside `<C-S-CR>`.
|
||||
- [ ] **`<Leader>w<Leader>m` missing from the Vim *global* map block** _(new)_ —
|
||||
present buffer-locally in both clients, but `plugin/nuwiki.vim`'s global
|
||||
`<Leader>w<Leader>*` family (usable from non-wiki buffers) binds `w`/`y`/`t`/`i`
|
||||
but not `m` (tomorrow), which upstream binds globally. _Fix:_ `plugin/nuwiki.vim`.
|
||||
|
||||
---
|
||||
|
||||
@@ -214,6 +236,13 @@ audits don't re-flag them.
|
||||
- `key_mappings` (dict) — replaced by Lua `mappings.<group>` + the
|
||||
`g:nuwiki_no_<group>_mappings` globals.
|
||||
- `use_calendar` — no calendar.vim integration.
|
||||
- `global_ext` (upstream `1`) — nuwiki's ftdetect always maps the configured
|
||||
wiki extension(s) to the `vimwiki` filetype regardless of location; there's no
|
||||
per-wiki "only inside the root" toggle. Effectively always-on, like
|
||||
`nested_syntaxes`.
|
||||
- `syntax` default name — nuwiki defaults the per-wiki `syntax` to `vimwiki` (its
|
||||
primary syntax) where upstream defaults to `default`; a naming difference, not
|
||||
a behavioural one.
|
||||
- `CJK_length`, `listing_hl*`, `schemes_*`, `w32_dir_enc`, `menu`,
|
||||
`rx_todo` / `tag_format` — syntax internals, menu, or Vim/Win shims.
|
||||
|
||||
@@ -225,3 +254,11 @@ audits don't re-flag them.
|
||||
affect the gap list.
|
||||
- nuwiki adds some commands with no upstream equivalent (e.g.
|
||||
`:NuwikiFindOrphans`) — additive, not divergences.
|
||||
- Re-audited 2026-05-31 (config / mappings / commands, three parallel agents
|
||||
against vimwiki `master`). All recent P1/P2/P3 fixes — split/tab link-follow,
|
||||
`gl`/`gL` change-symbol + bare-`gl`/`gL` remove-checkbox, `<CR>`-family
|
||||
create-on-follow, `<M-CR>` badd, `<Leader>w<Leader>t`/`m`, `VimwikiColorize`
|
||||
arg+range, colour-span conceal — confirmed present and correct in **both**
|
||||
clients. New gaps from that pass (diary-note `-count`, `-complete` specs,
|
||||
`<D-CR>`, global `<Leader>w<Leader>m`, plus `global_ext`/`syntax`-name notes)
|
||||
were added above; no previously-closed item regressed.
|
||||
|
||||
Reference in New Issue
Block a user