aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/README_template.md4
-rw-r--r--scripts/docgen.lua6
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/README_template.md b/scripts/README_template.md
index 1da876a9..8a0f8145 100644
--- a/scripts/README_template.md
+++ b/scripts/README_template.md
@@ -83,7 +83,7 @@ nvim_lsp.texlab.setup{
### Example: custom config
-To configure a custom/private server, just require `nvim_lsp/skeleton` and do
+To configure a custom/private server, just require `nvim_lsp/configs` and do
the same as we do if we were adding it to the repository itself.
1. Define the config: `configs.foo_lsp = { … }`
@@ -91,7 +91,7 @@ the same as we do if we were adding it to the repository itself.
```lua
local nvim_lsp = require'nvim_lsp'
-local configs = require'nvim_lsp/skeleton'
+local configs = require'nvim_lsp/configs'
-- Check if it's already defined for when I reload this file.
if not nvim_lsp.foo_lsp then
configs.foo_lsp = {
diff --git a/scripts/docgen.lua b/scripts/docgen.lua
index 322945b2..bab341e2 100644
--- a/scripts/docgen.lua
+++ b/scripts/docgen.lua
@@ -1,5 +1,5 @@
require 'nvim_lsp'
-local skeleton = require 'nvim_lsp/skeleton'
+local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'
local inspect = vim.inspect
local uv = vim.loop
@@ -75,7 +75,7 @@ require'nvim_lsp'.{{template_name}}.setup{}
]]
local function make_lsp_sections()
- return make_section(0, '\n', sorted_map_table(skeleton, function(template_name, template_object)
+ return make_section(0, '\n', sorted_map_table(configs, function(template_name, template_object)
local template_def = template_object.template_config
local docs = template_def.docs
@@ -222,7 +222,7 @@ local function make_lsp_sections()
end
local function make_implemented_servers_list()
- return make_section(0, '\n', sorted_map_table(skeleton, function(k)
+ return make_section(0, '\n', sorted_map_table(configs, function(k)
return template("- [{{server}}](#{{server}})", {server=k})
end))
end