From 75b653cc623a8cd6de397e42f21b838a065eb0e0 Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Wed, 25 Jan 2023 18:55:31 +0100 Subject: refactor!: put all plugin options under `opts` --- lua/lvim/core/which-key.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/lvim/core/which-key.lua') diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua index ddfd7904..7dd2367a 100644 --- a/lua/lvim/core/which-key.lua +++ b/lua/lvim/core/which-key.lua @@ -1,7 +1,7 @@ local M = {} M.config = function() local config = { - setup = { + opts = { plugins = { marks = false, -- shows a list of your marks on ' and ` registers = false, -- shows your registers on " in NORMAL or in INSERT mode @@ -303,7 +303,7 @@ end M.setup = function() local which_key = require "which-key" - which_key.setup(lvim.builtin.which_key.setup) + which_key.setup(lvim.builtin.which_key.opts) local opts = lvim.builtin.which_key.opts local vopts = lvim.builtin.which_key.vopts -- cgit v1.2.3