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 --- lua/nvim_lsp/texlab.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/nvim_lsp/texlab.lua') diff --git a/lua/nvim_lsp/texlab.lua b/lua/nvim_lsp/texlab.lua index 79ede52c..37021ee6 100644 --- a/lua/nvim_lsp/texlab.lua +++ b/lua/nvim_lsp/texlab.lua @@ -1,4 +1,4 @@ -local skeleton = require 'nvim_lsp/skeleton' +local configs = require 'nvim_lsp/configs' local util = require 'nvim_lsp/util' local lsp = vim.lsp @@ -31,7 +31,7 @@ end -- end) -- end -skeleton.texlab = { +configs.texlab = { default_config = { cmd = {"texlab"}; filetypes = {"tex", "bib"}; @@ -86,5 +86,5 @@ See https://texlab.netlify.com/docs/reference/configuration for configuration op }; } -skeleton.texlab.buf_build = buf_build +configs.texlab.buf_build = buf_build -- vim:et ts=2 sw=2 -- cgit v1.2.3-70-g09d2