fixes qf handling

This commit is contained in:
Dennis 2025-08-14 11:11:38 +02:00
parent 7bd5b89ec0
commit 00ccb5c8fb

View file

@ -1,21 +1,17 @@
return { return {
"folke/flash.nvim", "folke/flash.nvim",
event = "VeryLazy", event = "VeryLazy",
opts = { opts = {},
exclude = { keys = {
"notify", {
"noice", "<CR>",
"cmp_menu", mode = { "n", "x", "o" },
"flash_prompt", function()
"which_key", if vim.bo.filetype ~= "qf" then
"qf", require("flash").jump()
function(win) end
return not vim.api.nvim_win_get_config(win).focusable
end, end,
desc = "Flash",
}, },
}, },
-- stylua: ignore
keys = {
{ "<CR>", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
},
} }