Skip to content

Commit

Permalink
fix keybind_opts for startify
Browse files Browse the repository at this point in the history
  • Loading branch information
goolord committed Feb 16, 2023
1 parent d35b99e commit b3eef69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/alpha/themes/startify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local function button(sc, txt, keybind, keybind_opts)
}
if keybind then
keybind_opts = if_nil(keybind_opts, { noremap = true, silent = true, nowait = true })
opts.keymap = { "n", sc_, keybind, { noremap = false, silent = true, nowait = true } }
opts.keymap = { "n", sc_, keybind, keybind_opts }
end

local function on_press()
Expand Down

0 comments on commit b3eef69

Please sign in to comment.