Skip to content

Commit 4a2f5b2

Browse files
ALVAROPING1vhyrro
authored andcommitted
fix(keybinds): correctly get keymap opts
1 parent 7e7c668 commit 4a2f5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neorg/modules/core/keybinds/module.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ module.public = {
131131
vim.fn.hasmapto(keybind[2], mode, false) == 0
132132
and vim.fn.mapcheck(keybind[1], mode, false):len() == 0
133133
then
134-
local opts = vim.tbl_deep_extend("force", { buffer = buffer }, keybinds.opts or {})
134+
local opts = vim.tbl_deep_extend("force", { buffer = buffer }, keybind.opts or {})
135135
vim.keymap.set(mode, keybind[1], keybind[2], opts)
136136

137137
bound_keys[mode][keybind[1]] = true

0 commit comments

Comments
 (0)