fix(grug): grug_far -> grug.open (#4404)

## Description

Just a very simple fix to use the updated method in grug to set the
options for the dependency. Just ran across the issue debuging search
and replace on my setup (was not the issue).

This is not breaking.  
## Related Issue(s)

N/A
## Screenshots
N/A

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
This commit is contained in:
Benjamin Memisevic 2024-09-16 08:47:31 +02:00 committed by GitHub
parent ae17b321c7
commit 746ea8f1e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,7 @@ return {
function() function()
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.open({
transient = true, transient = true,
prefills = { prefills = {
filesFilter = ext and ext ~= "" and "*." .. ext or nil, filesFilter = ext and ext ~= "" and "*." .. ext or nil,