-
I have this lazy.nvim spec and I'm not sure why it's having this error on Much appreciated. P.S. Unrelated, but can fzf-lua grep the edited buffer that's not written to disk yet? That seems to be more intuitive than grepping through the actual file, which is often inconsistent with the changes you're making. Is it required to manually save before grepping for the latest state of the buffer? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Your error link shows more code, not an error.
Grep pickers uses an external utility (grep or rg), this requires the files being written, use |
Beta Was this translation helpful? Give feedback.
Now this makes sense,
rg_glob_fn
is sent to the external process using bytecode, as such it cannot use external functions local to your file only you need to move therebuild_regex
function inside