tries to fix flash

This commit is contained in:
Dennis 2026-02-06 11:30:14 +01:00
parent 0935ee3dfa
commit ed0201766f
2 changed files with 4 additions and 11 deletions

View file

@ -3,9 +3,7 @@
{
plugins.sleuth.enable = true;
plugins.nvim-surround.enable = true;
plugins.flash = {
enable = true;
};
plugins.flash.enable = true;
plugins.blink-pairs = {
enable = true;
@ -64,7 +62,8 @@
];
}
{
event = [ "BufReadPost" ];
event = [ "FileType" ];
pattern = "qf";
callback.__raw = /* lua */ ''
function()
vim.keymap.set("n", "<CR>", "<CR>", { buffer = true })

View file

@ -123,13 +123,7 @@
"o"
];
key = "<CR>";
action.__raw = /* lua */ ''
function()
if vim.bo.filetype ~= "qf" then
require("flash").jump()
end
end
'';
action.__raw = /* lua */ ''function() require("flash").jump() end'';
}
];
}