Skip to content

Commit

Permalink
chore(dropbar): proritize event instead of keys first
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Dec 30, 2024
1 parent 370a567 commit aa927b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ local plugins = {
{
"Bekaboo/dropbar.nvim",
name = "dropbar",
event = { "BufReadPost", "BufNewFile" },
keys = {
require("mappings").map({ "n" }, "<leader>p", function()
require("dropbar.api").pick(vim.v.count ~= 0 and vim.v.count)
end, "Toggle dropbar menu"),
},
event = { "BufReadPost", "BufNewFile" },
config = function()
require("dropbar").setup()
end,
Expand Down

0 comments on commit aa927b1

Please sign in to comment.