fix(doc): use canonical function tags for vim.keymap.set() and nvim_create_autocmd() #340
No reviewers
Labels
No labels
autorelease: pending
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream/digest
upstream/pr
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/canola.nvim!340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/vimdoc-function-tags"
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?
Two help-tag references in
doc/oil.txtresolved to external nvim core tags that vimdoc-language-server's runtime-tag loader couldn't find:doc/oil.txt:711:99—|vim.keymap.set|→|vim.keymap.set()|doc/oil.txt:1451:1—|nvim_create_autocmd|→|nvim_create_autocmd()|nvim's runtime help (
$VIMRUNTIME/doc/tags) defines these tags with parentheses per the vim help convention for functions:vim.keymap.set()inlua.txtandnvim_create_autocmd()inapi.txt. The oil.txt references were written without parens so the loader could never match them.Adding the parens makes the references canonical — they now resolve correctly both via
vimdoc-language-server checkand when a user navigates with:helporKin a help buffer. No behavior change beyond the help-link resolving.Unblocks forgejo CI
Lintonmain(red since migration commite3c6cc8).