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

View file

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