From 859dd10fee70a3ff993b798a124b591ae9e1042c Mon Sep 17 00:00:00 2001 From: Mystical-C <64483945+MysticalDevil@users.noreply.github.com> Date: Sun, 29 Oct 2023 08:23:25 +0800 Subject: [PATCH] fix: Adjust legendary.nvim configs --- lua/devil/configs/plugin/legendary.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lua/devil/configs/plugin/legendary.lua b/lua/devil/configs/plugin/legendary.lua index 362280e..c1057f6 100644 --- a/lua/devil/configs/plugin/legendary.lua +++ b/lua/devil/configs/plugin/legendary.lua @@ -112,11 +112,6 @@ local opts = { max_timestamps = 10, }, }, - lazy_nvim = { - -- Automatically register keymaps that are defined on lazy.nvim plugin specs - -- using the `keys = {}` property. - auto_register = true, - }, -- Which extensions to load; no extensions are loaded by default. -- Setting the plugin name to `false` disables loading the extension. -- Setting it to any other value will attempt to load the extension, @@ -159,6 +154,12 @@ local opts = { -- are added at toplevel instead of in a group. use_groups = true, }, + -- load keymaps from lazy.nvim keys options + lazy_nvim = { + -- Automatically register keymaps that are defined on lazy.nvim plugin specs + -- using the `keys = {}` property. + auto_register = true, + }, }, scratchpad = { -- How to open the scratchpad buffer,