Revert "fix nvim: menu for gitsigns失效"
This reverts commit e533009beaab9e16a19f016ea1c41ca825d7ab44.
This commit is contained in:
parent
e533009bea
commit
52bc03fcac
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user