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/cssls.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/nvim_lsp/cssls.lua') diff --git a/lua/nvim_lsp/cssls.lua b/lua/nvim_lsp/cssls.lua index c39f81fd..fa6b29cf 100644 --- a/lua/nvim_lsp/cssls.lua +++ b/lua/nvim_lsp/cssls.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 @@ -13,7 +13,7 @@ local installer = util.npm_installer { local root_pattern = util.root_pattern("package.json") -skeleton[server_name] = { +configs[server_name] = { default_config = util.utf8_config { cmd = {bin_name, "--stdio"}; filetypes = {"css", "scss", "less"}; @@ -55,6 +55,6 @@ npm install -g vscode-css-languageserver-bin }; } -skeleton[server_name].install = installer.install -skeleton[server_name].install_info = installer.info +configs[server_name].install = installer.install +configs[server_name].install_info = installer.info -- vim:et ts=2 sw=2 -- cgit v1.2.3-70-g09d2