fix(spectre): make spectre behave with regards to swap files

This commit is contained in:
Folke Lemaitre 2023-06-03 10:47:35 +02:00
parent 419086e8a3
commit bb4a7fe410
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -73,6 +73,8 @@ return {
-- search/replace in multiple files
{
"nvim-pack/nvim-spectre",
cmd = "Spectre",
opts = { open_cmd = "noswapfile vnew" },
-- stylua: ignore
keys = {
{ "<leader>sr", function() require("spectre").open() end, desc = "Replace in files (Spectre)" },