fix(grug-far): use new transient option

This commit is contained in:
Folke Lemaitre 2024-07-22 23:26:03 +02:00
parent 03968eb3f0
commit 1c2be200c1
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 1 additions and 1 deletions

View file

@ -55,7 +55,6 @@ vim.api.nvim_create_autocmd("FileType", {
group = augroup("close_with_q"), group = augroup("close_with_q"),
pattern = { pattern = {
"PlenaryTestPopup", "PlenaryTestPopup",
"grug-far",
"help", "help",
"lspinfo", "lspinfo",
"notify", "notify",

View file

@ -138,6 +138,7 @@ return {
local grug = require("grug-far") local grug = require("grug-far")
local ext = vim.bo.buftype == "" and vim.fn.expand("%:e") local ext = vim.bo.buftype == "" and vim.fn.expand("%:e")
grug.grug_far({ grug.grug_far({
transient = true,
prefills = { prefills = {
filesFilter = ext and ext ~= "" and "*." .. ext or nil, filesFilter = ext and ext ~= "" and "*." .. ext or nil,
}, },