From 94ae48ff29c7f01667ca80928baf8e87a2c2bac2 Mon Sep 17 00:00:00 2001 From: Yochem van Rosmalen Date: Wed, 12 Nov 2025 18:00:27 +0100 Subject: 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|. --- src/gen/gen_vimdoc.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gen/gen_vimdoc.lua b/src/gen/gen_vimdoc.lua index e4e2af7b0b..a5767a961e 100755 --- a/src/gen/gen_vimdoc.lua +++ b/src/gen/gen_vimdoc.lua @@ -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, }, } -- cgit