fixes qf handling
This commit is contained in:
parent
7bd5b89ec0
commit
00ccb5c8fb
1 changed files with 10 additions and 14 deletions
|
|
@ -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" },
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue