aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFidel Yin <fidel.yin@hotmail.com>2025-07-10 20:48:37 +0800
committerGitHub <noreply@github.com>2025-07-10 05:48:37 -0700
commitee2993adabeb51a190f737702e7678cb229d95e9 (patch)
treee8eacd79e1917898b8cc0172668350f488d6d2df /scripts
parentfeat(gopls): refactor root_dir identification #3942 (diff)
downloadnvim-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-xscripts/docgen.lua5
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),
}))