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"),
pattern = {
"PlenaryTestPopup",
"grug-far",
"help",
"lspinfo",
"notify",

View file

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