From fc0a456426c8c38afedc86dfc803917210ebb9de Mon Sep 17 00:00:00 2001 From: Maciej Jur Date: Tue, 23 Jan 2024 22:31:09 +0100 Subject: [PATCH] nvim: cleanup unused function --- nvim/lua/config/helpers.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/nvim/lua/config/helpers.lua b/nvim/lua/config/helpers.lua index 8d721b2..603666b 100644 --- a/nvim/lua/config/helpers.lua +++ b/nvim/lua/config/helpers.lua @@ -1,7 +1,7 @@ local M = {} -local defaults = { noremap = true, silent = true } +local defaults = { noremap = true, silent = true } ---@class KeymapOpts ---@field [1]? string Shorthand description @@ -36,13 +36,5 @@ function M.keymap(modes) end end ----@param config LazyPluginSpec -function M.as_extendable(config) ----@param base LazyPluginSpec ----@return LazyPluginSpec - return function(base) - return vim.tbl_extend('keep', base, config) - end -end return M