diff options
| author | Fidel Yin <fidel.yin@hotmail.com> | 2025-07-10 20:48:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-10 05:48:37 -0700 |
| commit | ee2993adabeb51a190f737702e7678cb229d95e9 (patch) | |
| tree | e8eacd79e1917898b8cc0172668350f488d6d2df /scripts | |
| parent | feat(gopls): refactor root_dir identification #3942 (diff) | |
| download | nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.tar nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.tar.gz nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.tar.bz2 nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.tar.lz nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.tar.xz nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.tar.zst nvim-lspconfig-ee2993adabeb51a190f737702e7678cb229d95e9.zip | |
fix(docs): "commands" item breaks docgen #3944
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/docgen.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua index 28213cef..613417b1 100755 --- a/scripts/docgen.lua +++ b/scripts/docgen.lua @@ -149,10 +149,7 @@ local function make_lsp_section(config_sections, config_name, config_file, is_ma return end return ('\nCommands:\n%s\n'):format(make_section(0, '\n', { - map_sorted(config.commands, function(name, def) - if def.description then - return string.format('- %s: %s', name, def.description) - end + map_sorted(config.commands, function(name, _) return string.format('- %s', name) end), })) |
