summaryrefslogtreecommitdiff
path: root/lua/lvim/core/which-key.lua
diff options
context:
space:
mode:
authorLostNeophyte <[email protected]>2023-01-25 18:55:31 +0100
committerLostNeophyte <[email protected]>2023-01-25 18:55:31 +0100
commit75b653cc623a8cd6de397e42f21b838a065eb0e0 (patch)
tree7b43499c99423651d7e75662bb4628569834e28f /lua/lvim/core/which-key.lua
parent4f02e54d923414eb6690d64c7e334f624a2a9342 (diff)
refactor!: put all plugin options under `opts`
Diffstat (limited to 'lua/lvim/core/which-key.lua')
-rw-r--r--lua/lvim/core/which-key.lua4
1 files changed, 2 insertions, 2 deletions
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 <C-r> 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