diff options
| author | altermo <107814000+altermo@users.noreply.github.com> | 2025-09-11 06:16:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-10 21:16:13 -0700 |
| commit | 2e70f3522b5a4ab35341d2e6ce3f04a5bddef436 (patch) | |
| tree | cc75becc25afc1b09dc85bc50e823574074f84f6 /src/gen/gen_vimdoc.lua | |
| parent | da650de277b0ce3e3901e847c489ef0e2b419d13 (diff) | |
| download | rneovim-2e70f3522b5a4ab35341d2e6ce3f04a5bddef436.tar.gz rneovim-2e70f3522b5a4ab35341d2e6ce3f04a5bddef436.tar.bz2 rneovim-2e70f3522b5a4ab35341d2e6ce3f04a5bddef436.zip | |
docs: plugins.txt #35680
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'src/gen/gen_vimdoc.lua')
| -rwxr-xr-x | src/gen/gen_vimdoc.lua | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/src/gen/gen_vimdoc.lua b/src/gen/gen_vimdoc.lua index 0450c46f62..1797cd9a7e 100755 --- a/src/gen/gen_vimdoc.lua +++ b/src/gen/gen_vimdoc.lua @@ -184,11 +184,9 @@ local config = { 'version.lua', -- Sections at the end, in a specific order: - 'tohtml.lua', '_extui.lua', }, files = { - 'runtime/lua/tohtml.lua', 'runtime/lua/vim/_editor.lua', 'runtime/lua/vim/_extui.lua', 'runtime/lua/vim/_inspector.lua', @@ -249,9 +247,6 @@ local config = { elseif name == 'builtin' then return 'VIM' end - if name == 'tohtml' then - return 'Lua module: tohtml' - end return 'Lua module: vim.' .. name end, helptag_fmt = function(name) @@ -261,8 +256,6 @@ local config = { return 'lua-vim-system' elseif name == '_options' then return 'lua-vimscript' - elseif name == 'tohtml' then - return 'tohtml' end return 'vim.' .. name:lower() end, @@ -436,6 +429,21 @@ local config = { return { 'vim.pack' } end, }, + plugins = { + filename = 'plugins.txt', + section_order = { + 'tohtml.lua', + }, + files = { + 'runtime/lua/tohtml.lua', + }, + section_fmt = function(name) + return 'Builtin plugin: ' .. name:lower() + end, + helptag_fmt = function(name) + return name:lower() + end, + }, } --- @param ty string |