diff options
| author | Yochem van Rosmalen <git@yochem.nl> | 2025-11-12 18:00:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-12 09:00:27 -0800 |
| commit | 94ae48ff29c7f01667ca80928baf8e87a2c2bac2 (patch) | |
| tree | 742663efb7603c13afdcc4e61bff3d8bdae9e89a /src/gen/gen_vimdoc.lua | |
| parent | 4110e6730a2e125c3656a40362eb3d40527ac063 (diff) | |
| download | rneovim-94ae48ff29c7f01667ca80928baf8e87a2c2bac2.tar.gz rneovim-94ae48ff29c7f01667ca80928baf8e87a2c2bac2.tar.bz2 rneovim-94ae48ff29c7f01667ca80928baf8e87a2c2bac2.zip | |
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|.
Diffstat (limited to 'src/gen/gen_vimdoc.lua')
| -rwxr-xr-x | src/gen/gen_vimdoc.lua | 7 |
1 files changed, 5 insertions, 2 deletions
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, }, } |