docs(undotree): rename help tag #36497

Problem: confusing that there is the tag `undo-tree` (the Vim
implementation) and `undotree` (the Lua plugin for visualization).

Solution: rename tag to undotree-plugin. Mention the plugin in the docs of
|undotree|.
This commit is contained in:
Yochem van Rosmalen
2025-11-12 18:00:27 +01:00
committed by GitHub
parent 4110e6730a
commit 94ae48ff29
4 changed files with 11 additions and 7 deletions

View File

@@ -440,10 +440,13 @@ local config = {
return 'Builtin plugin: ' .. name:lower()
end,
helptag_fmt = function(name)
if name:lower() == 'spellfile' then
name = name:lower()
if name == 'spellfile' then
name = 'spellfile.lua'
elseif name == 'undotree' then
name = 'undotree-plugin'
end
return name:lower()
return name
end,
},
}