fixes flash config for qf windows
This commit is contained in:
parent
63a0fc9af6
commit
8d3ee2fbd8
1 changed files with 14 additions and 2 deletions
|
|
@ -1,9 +1,21 @@
|
||||||
return {
|
return {
|
||||||
"folke/flash.nvim",
|
"folke/flash.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
opts = {},
|
opts = {
|
||||||
|
exclude = {
|
||||||
|
"notify",
|
||||||
|
"noice",
|
||||||
|
"cmp_menu",
|
||||||
|
"flash_prompt",
|
||||||
|
"which_key",
|
||||||
|
"qf",
|
||||||
|
function(win)
|
||||||
|
return not vim.api.nvim_win_get_config(win).focusable
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{ "<CR>", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
{ "<CR>", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue