Revert "fix nvim: menu for gitsigns失效"

This reverts commit e533009beaab9e16a19f016ea1c41ca825d7ab44.
This commit is contained in:
Yuan Chiu 2025-06-02 22:16:03 +08:00
parent e533009bea
commit 52bc03fcac

View File

@ -20,7 +20,6 @@ return {
vim.cmd.exec '"normal! \\<RightMouse>"' vim.cmd.exec '"normal! \\<RightMouse>"'
vim.defer_fn(function()
-- clicked buf -- clicked buf
local mouse = vim.fn.getmousepos() local mouse = vim.fn.getmousepos()
local buf = vim.api.nvim_win_get_buf(mouse.winid) local buf = vim.api.nvim_win_get_buf(mouse.winid)
@ -58,7 +57,6 @@ return {
-- "\n🧭 Menu: " .. options, vim.log.levels.INFO -- "\n🧭 Menu: " .. options, vim.log.levels.INFO
-- ) -- )
require("menu").open(options, { mouse = true }) require("menu").open(options, { mouse = true })
end, 10)
end, {}) end, {})
end, end,