From b487481e19ab803f2fac1c7acc10c83c743dd39b Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Fri, 31 Jan 2020 00:00:50 -0800 Subject: rename "skeleton" to "configs" #100 `nvim_lsp/skeleton.lua` is not really a skeleton, it's a `configs` class that provides 1. actual functionality 2. a bunch of configs Each config is added to the `configs` object (FKA "skeleton") as a property. Those configs are not "templates", they are "configs". So we should clean up the wording in various places to say "config" instead of "skeleton"/"template". Closes #64 --- scripts/docgen.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/docgen.lua') 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 -- cgit v1.2.3-70-g09d2