tries to fix flash
This commit is contained in:
parent
0935ee3dfa
commit
ed0201766f
2 changed files with 4 additions and 11 deletions
|
|
@ -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 })
|
||||
|
|
|
|||
|
|
@ -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'';
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue