aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-02-02 19:29:31 -0800
committerJustin M. Keyes <justinkz@gmail.com>2020-02-02 19:32:33 -0800
commit014c833dac5fcd72e2aa71576e4af1cd925803b1 (patch)
tree4be13be33633b1cbf717fea9310b47d154651ad4 /scripts
parentMerge #111 from neovim/docgen (diff)
downloadnvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.tar
nvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.tar.gz
nvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.tar.bz2
nvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.tar.lz
nvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.tar.xz
nvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.tar.zst
nvim-lspconfig-014c833dac5fcd72e2aa71576e4af1cd925803b1.zip
docgen.lua: call require_all_configs() earlier
It is also needed by make_implemented_servers_list().
Diffstat (limited to 'scripts')
-rw-r--r--scripts/docgen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua
index 3e753972..21b9a7f8 100644
--- a/scripts/docgen.lua
+++ b/scripts/docgen.lua
@@ -83,7 +83,6 @@ local function require_all_configs()
end
local function make_lsp_sections()
- require_all_configs()
return make_section(0, '\n', sorted_map_table(configs, function(template_name, template_object)
local template_def = template_object.document_config
local docs = template_def.docs
@@ -249,6 +248,7 @@ local function generate_readme(template_file, params)
writer:close()
end
+require_all_configs()
generate_readme("scripts/README_template.md", {
implemented_servers_list = make_implemented_servers_list();
lsp_server_details = make_lsp_sections();